Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001129/0.001129, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.001046/0.001046, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.88 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8739/0.8753, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03722/0.9126, allocations: 30.76 MB / 1.119 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.9391, allocations: 13.59 MB / 1.132 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/0.9439, allocations: 143.4 kB / 1.132 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.9546, allocations: 3.198 MB / 1.135 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.9659, allocations: 2.763 MB / 1.138 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007671/0.9736, allocations: 2.014 MB / 1.14 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01373/0.9873, allocations: 7.64 MB / 1.147 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/1.002, allocations: 8.236 MB / 1.155 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008651/1.011, allocations: 3.471 MB / 1.159 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008503/1.019, allocations: 3.381 MB / 1.162 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002878/1.022, allocations: 0.5959 MB / 1.163 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007649/1.03, allocations: 1.492 MB / 1.164 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006529/1.037, allocations: 2.37 MB / 1.166 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008952/1.046, allocations: 2.882 MB / 1.169 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0176/1.063, allocations: 9.465 MB / 1.178 GB, free: 14.24 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.063, allocations: 0 / 1.178 GB, free: 14.24 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.377e-06/1.063, allocations: 0 / 1.178 GB, free: 14.24 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004307/1.064, allocations: 1.219 kB / 1.178 GB, free: 14.24 MB / 0.92 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.02324/1.087, allocations: 5.133 MB / 1.183 GB, free: 10.78 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.087, allocations: 8.531 kB / 1.183 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/1.095, allocations: 1.001 MB / 1.184 GB, free: 10.31 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/1.105, allocations: 3.075 MB / 1.187 GB, free: 8.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/1.105, allocations: 319.1 kB / 1.188 GB, free: 8.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/1.107, allocations: 421.6 kB / 1.188 GB, free: 7.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.125, allocations: 6.792 MB / 1.195 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/1.125, allocations: 19.78 kB / 1.195 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008621/1.126, allocations: 184 kB / 1.195 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009557/1.127, allocations: 376 kB / 1.195 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/1.138, allocations: 5.11 MB / 1.2 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/1.182, allocations: 30.51 MB / 1.23 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/1.185, allocations: 1.399 MB / 1.232 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.187, allocations: 1.332 MB / 1.233 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/1.187, allocations: 17.25 kB / 1.233 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/1.187, allocations: 47.88 kB / 1.233 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.086e-06/1.187, allocations: 0 / 1.233 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09192/1.279, allocations: 23.09 MB / 1.255 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.279, allocations: 73.41 kB / 1.256 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/1.282, allocations: 2.058 MB / 1.258 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/1.282, allocations: 57.7 kB / 1.258 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.284, allocations: 2.018 MB / 1.26 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007634/1.285, allocations: 0.6739 MB / 1.26 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008691/1.285, allocations: 412.1 kB / 1.261 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/1.286, allocations: 305.1 kB / 1.261 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/1.288, allocations: 1.43 MB / 1.262 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/1.29, allocations: 2.017 MB / 1.264 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005298/1.296, allocations: 3.696 MB / 1.268 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/1.296, allocations: 4 kB / 1.268 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01164/1.307, allocations: 5.653 MB / 1.273 GB, free: 12.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.307, allocations: 19.94 kB / 1.273 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.307, allocations: 16 kB / 1.273 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007002/1.314, allocations: 2.08 MB / 1.275 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.316, allocations: 375.4 kB / 1.276 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04097/1.357, allocations: 38.44 MB / 1.313 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.36, allocations: 127.9 kB / 1.313 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/1.36, allocations: 91.98 kB / 1.314 GB, free: 1.074 MB / 1.045 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.003387/1.364, allocations: 1.504 MB / 1.315 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/1.365, allocations: 280.6 kB / 1.315 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.376, allocations: 5.215 MB / 1.32 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/1.376, allocations: 11.91 kB / 1.32 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.376, allocations: 0 / 1.32 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.378, allocations: 0.642 MB / 1.321 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007925/1.379, allocations: 32 kB / 1.321 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.38, allocations: 99.88 kB / 1.321 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/1.381, allocations: 213.6 kB / 1.321 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01266/1.394, allocations: 5.442 MB / 1.327 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006991/1.401, allocations: 5.039 MB / 1.332 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002003/1.403, allocations: 1.554 MB / 1.333 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002253/1.405, allocations: 1.378 MB / 1.334 GB, free: 11.46 MB / 1.076 GB Notification: Performance of Backend: time 1.864e-06/1.405, allocations: 0 / 1.334 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.416, allocations: 5.682 MB / 1.34 GB, free: 5.543 MB / 1.076 GB Notification: Performance of SimCode: time 0.01763/1.434, allocations: 9.107 MB / 1.349 GB, free: 12.45 MB / 1.092 GB Notification: Performance of Templates: time 0.09956/1.533, allocations: 62.87 MB / 1.41 GB, free: 14.42 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches