Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 114.2 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 188.2 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 67.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.019/1.031, allocations: 14.79 MB / 1.241 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.016/1.047, allocations: 10.36 MB / 1.251 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/1.049, allocations: 55.62 kB / 1.251 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/1.054, allocations: 1.684 MB / 1.253 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006159/1.06, allocations: 1.857 MB / 1.254 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/1.062, allocations: 0.7594 MB / 1.255 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004723/1.067, allocations: 2.754 MB / 1.258 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.069, allocations: 1.419 MB / 1.259 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/1.072, allocations: 1.527 MB / 1.261 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.074, allocations: 1.156 MB / 1.262 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003155/1.075, allocations: 160 kB / 1.262 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/1.077, allocations: 0.7916 MB / 1.263 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007754/1.077, allocations: 0.6115 MB / 1.263 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/1.079, allocations: 0.9561 MB / 1.264 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/1.082, allocations: 2.775 MB / 1.267 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.082, allocations: 0 / 1.267 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.496e-06/1.082, allocations: 0 / 1.267 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.182e-05/1.082, allocations: 3.938 kB / 1.267 GB, free: 3.715 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004378/1.087, allocations: 2.23 MB / 1.269 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.087, allocations: 8.031 kB / 1.269 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.098, allocations: 2.117 MB / 1.271 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/1.101, allocations: 1.312 MB / 1.273 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/1.101, allocations: 94.67 kB / 1.273 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/1.102, allocations: 120.1 kB / 1.273 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005884/1.108, allocations: 2.667 MB / 1.275 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/1.108, allocations: 11.89 kB / 1.275 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/1.108, allocations: 51.98 kB / 1.275 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006047/1.109, allocations: 198.1 kB / 1.276 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/1.116, allocations: 2.791 MB / 1.278 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/1.132, allocations: 10.47 MB / 1.289 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/1.138, allocations: 2.336 MB / 1.291 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/1.141, allocations: 1.288 MB / 1.292 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/1.142, allocations: 9 kB / 1.292 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/1.142, allocations: 43.56 kB / 1.292 GB, free: 9.078 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 1.381e-05/1.142, allocations: 0 / 1.292 GB, free: 9.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.05799/1.2, allocations: 16.53 MB / 1.308 GB, free: 8.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/1.2, allocations: 68.72 kB / 1.308 GB, free: 8.312 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/1.202, allocations: 1.18 MB / 1.309 GB, free: 7.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.202, allocations: 49.7 kB / 1.31 GB, free: 7.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/1.203, allocations: 0.7607 MB / 1.31 GB, free: 6.301 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/1.204, allocations: 0.5344 MB / 1.311 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/1.204, allocations: 287.5 kB / 1.311 GB, free: 5.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.205, allocations: 305.1 kB / 1.311 GB, free: 5.172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/1.208, allocations: 1.51 MB / 1.313 GB, free: 3.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003798/1.212, allocations: 1.784 MB / 1.315 GB, free: 1.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/1.219, allocations: 3.373 MB / 1.318 GB, free: 14.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.22, allocations: 0 / 1.318 GB, free: 14.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01378/1.233, allocations: 5.282 MB / 1.323 GB, free: 8.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/1.233, allocations: 12.11 kB / 1.323 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.233, allocations: 8 kB / 1.323 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007176/1.241, allocations: 1.878 MB / 1.325 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.243, allocations: 415.2 kB / 1.325 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03321/1.276, allocations: 24.15 MB / 1.349 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/1.279, allocations: 307.6 kB / 1.349 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/1.279, allocations: 71.91 kB / 1.349 GB, free: 13.04 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/1.281, allocations: 469.4 kB / 1.35 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005815/1.281, allocations: 182.9 kB / 1.35 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/1.295, allocations: 5.32 MB / 1.355 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/1.295, allocations: 11.97 kB / 1.355 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.295, allocations: 0 / 1.355 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.297, allocations: 0.5075 MB / 1.356 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000567/1.297, allocations: 24 kB / 1.356 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.3, allocations: 295.5 kB / 1.356 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.3, allocations: 204.9 kB / 1.356 GB, free: 5.965 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0157/1.316, allocations: 5.604 MB / 1.362 GB, free: 336 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01158/1.327, allocations: 5.222 MB / 1.367 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003457/1.331, allocations: 1.665 MB / 1.368 GB, free: 9.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001451/1.332, allocations: 0.786 MB / 1.369 GB, free: 8.625 MB / 1.092 GB Notification: Performance of Backend: time 9.12e-07/1.332, allocations: 0 / 1.369 GB, free: 8.625 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.343, allocations: 4.241 MB / 1.373 GB, free: 4.277 MB / 1.092 GB Notification: Performance of SimCode: time 0.008986/1.352, allocations: 4.825 MB / 1.378 GB, free: 15.42 MB / 1.107 GB Notification: Performance of Templates: time 0.08751/1.44, allocations: 50.15 MB / 1.427 GB, free: 13.71 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches