Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 105.4 kB / 16.36 MB, free: 6.312 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.001421/0.001421, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.647/2.647, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 65.34 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3571, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03535/0.3925, allocations: 30.78 MB / 1.057 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02519/0.4178, allocations: 13.59 MB / 1.07 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/0.4224, allocations: 143.2 kB / 1.07 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009105/0.4316, allocations: 3.191 MB / 1.073 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.6155/1.047, allocations: 2.661 MB / 1.076 GB, free: 18.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006124/1.053, allocations: 2.008 MB / 1.078 GB, free: 18.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01634/1.07, allocations: 7.624 MB / 1.085 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/1.082, allocations: 8.217 MB / 1.093 GB, free: 17.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007916/1.09, allocations: 3.413 MB / 1.097 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00858/1.099, allocations: 3.385 MB / 1.1 GB, free: 16.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002773/1.102, allocations: 0.5955 MB / 1.101 GB, free: 16.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006162/1.108, allocations: 1.494 MB / 1.102 GB, free: 16.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00465/1.113, allocations: 2.365 MB / 1.104 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008151/1.121, allocations: 2.885 MB / 1.107 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/1.137, allocations: 9.459 MB / 1.116 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.137, allocations: 0 / 1.116 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.777e-06/1.137, allocations: 5.625 kB / 1.116 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003589/1.137, allocations: 0 / 1.116 GB, free: 11.07 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0174/1.155, allocations: 5.128 MB / 1.121 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.155, allocations: 7.812 kB / 1.121 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007681/1.162, allocations: 1.003 MB / 1.122 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009055/1.171, allocations: 3.065 MB / 1.125 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/1.172, allocations: 324.7 kB / 1.126 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/1.174, allocations: 416.9 kB / 1.126 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/1.188, allocations: 6.795 MB / 1.133 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/1.188, allocations: 27.2 kB / 1.133 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/1.189, allocations: 189.8 kB / 1.133 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008604/1.19, allocations: 372.8 kB / 1.133 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008625/1.198, allocations: 5.111 MB / 1.138 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/1.233, allocations: 30.51 MB / 1.168 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/1.236, allocations: 1.383 MB / 1.169 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.238, allocations: 1.336 MB / 1.171 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-05/1.238, allocations: 13.31 kB / 1.171 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/1.238, allocations: 51.81 kB / 1.171 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 5.981e-06/1.238, allocations: 0 / 1.171 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.08717/1.325, allocations: 23.09 MB / 1.193 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.325, allocations: 77.41 kB / 1.193 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/1.328, allocations: 2.066 MB / 1.195 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004367/1.329, allocations: 61.7 kB / 1.196 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.33, allocations: 1.997 MB / 1.197 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/1.331, allocations: 0.683 MB / 1.198 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/1.332, allocations: 408.2 kB / 1.199 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.332, allocations: 301.1 kB / 1.199 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.334, allocations: 1.433 MB / 1.2 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/1.337, allocations: 2.02 MB / 1.202 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004851/1.341, allocations: 3.698 MB / 1.206 GB, free: 12.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.341, allocations: 8 kB / 1.206 GB, free: 12.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01114/1.353, allocations: 5.669 MB / 1.211 GB, free: 7.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.353, allocations: 12 kB / 1.211 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.353, allocations: 16 kB / 1.211 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006768/1.359, allocations: 2.083 MB / 1.213 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.361, allocations: 379.3 kB / 1.214 GB, free: 4.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04056/1.402, allocations: 38.43 MB / 1.251 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.405, allocations: 123.9 kB / 1.251 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/1.405, allocations: 92 kB / 1.252 GB, free: 11.49 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00308/1.408, allocations: 1.508 MB / 1.253 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/1.409, allocations: 280.7 kB / 1.253 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.42, allocations: 5.216 MB / 1.258 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.42, allocations: 11.97 kB / 1.258 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.42, allocations: 7.922 kB / 1.258 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/1.422, allocations: 0.6343 MB / 1.259 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/1.423, allocations: 31.91 kB / 1.259 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.425, allocations: 107.8 kB / 1.259 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/1.425, allocations: 213.6 kB / 1.259 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0122/1.437, allocations: 5.442 MB / 1.265 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007222/1.444, allocations: 5.05 MB / 1.27 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002097/1.447, allocations: 1.554 MB / 1.271 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002257/1.449, allocations: 1.382 MB / 1.272 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of Backend: time 5.61e-07/1.449, allocations: 0 / 1.272 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.461, allocations: 5.672 MB / 1.278 GB, free: 44 kB / 0.9825 GB Notification: Performance of SimCode: time 0.0187/1.48, allocations: 9.094 MB / 1.287 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of Templates: time 0.1065/1.586, allocations: 62.12 MB / 1.348 GB, free: 9.898 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches