Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 110.8 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.001562/0.001562, allocations: 190.6 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.9413, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.009814/0.9512, allocations: 5.101 MB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006523/0.9578, allocations: 3.369 MB / 1.217 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.9584, allocations: 11.94 kB / 1.217 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.9605, allocations: 0.5051 MB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.9621, allocations: 395.8 kB / 1.218 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.9631, allocations: 271.4 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.9645, allocations: 0.6424 MB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.9654, allocations: 0.544 MB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.966, allocations: 291.2 kB / 1.219 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006646/0.9667, allocations: 295 kB / 1.22 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.9669, allocations: 44 kB / 1.22 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.9676, allocations: 299.5 kB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.9679, allocations: 175.5 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.9684, allocations: 242.9 kB / 1.22 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.9699, allocations: 0.8392 MB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9699, allocations: 0 / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9699, allocations: 4 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.457e-05/0.97, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00224/0.9722, allocations: 0.7948 MB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.9723, allocations: 12.03 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.9756, allocations: 0.6828 MB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.9767, allocations: 471.7 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9767, allocations: 29.02 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.9769, allocations: 32.12 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.979, allocations: 0.8317 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.9791, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.9792, allocations: 12 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.9794, allocations: 60.58 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.982, allocations: 0.935 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.9871, allocations: 2.844 MB / 1.228 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.989, allocations: 0.5527 MB / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.9898, allocations: 304.6 kB / 1.228 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.99, allocations: 85.09 kB / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.99, allocations: 42.5 kB / 1.229 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 2.434e-06/0.99, allocations: 0 / 1.229 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32): time 0.01336/1.003, allocations: 3.497 MB / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.003, allocations: 55.41 kB / 1.232 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/1.004, allocations: 400.3 kB / 1.232 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/1.004, allocations: 37.7 kB / 1.232 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/1.004, allocations: 227.9 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.005, allocations: 110.4 kB / 1.233 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.005, allocations: 85.61 kB / 1.233 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.005, allocations: 350.8 kB / 1.233 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.006, allocations: 396.5 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.007, allocations: 460.2 kB / 1.234 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/1.009, allocations: 0.8278 MB / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/1.009, allocations: 4 kB / 1.235 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005403/1.015, allocations: 1.658 MB / 1.236 GB, free: 348 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.015, allocations: 8 kB / 1.236 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.015, allocations: 3.938 kB / 1.236 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/1.019, allocations: 0.8725 MB / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/1.019, allocations: 139.8 kB / 1.237 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008449/1.028, allocations: 6.656 MB / 1.244 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/1.029, allocations: 115.9 kB / 1.244 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/1.029, allocations: 19.98 kB / 1.244 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/1.03, allocations: 0.566 MB / 1.245 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/1.031, allocations: 460.1 kB / 1.245 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002043/1.033, allocations: 0.8078 MB / 1.246 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.033, allocations: 0 / 1.246 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005064/1.038, allocations: 1.641 MB / 1.247 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.039, allocations: 8 kB / 1.247 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.039, allocations: 3.984 kB / 1.247 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/1.041, allocations: 0.6509 MB / 1.248 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/1.042, allocations: 135.8 kB / 1.248 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/1.05, allocations: 7.288 MB / 1.255 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/1.051, allocations: 107.8 kB / 1.255 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/1.051, allocations: 15.98 kB / 1.255 GB, free: 11.74 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002549/1.051, allocations: 200.3 kB / 1.256 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.051, allocations: 43.47 kB / 1.256 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/1.056, allocations: 1.537 MB / 1.257 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.056, allocations: 3.984 kB / 1.257 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.056, allocations: 0 / 1.257 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/1.057, allocations: 168.6 kB / 1.257 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/1.057, allocations: 15.86 kB / 1.257 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/1.057, allocations: 83.88 kB / 1.257 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.057, allocations: 35.94 kB / 1.258 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003829/1.061, allocations: 1.311 MB / 1.259 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002417/1.064, allocations: 1.233 MB / 1.26 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007499/1.064, allocations: 340.2 kB / 1.26 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004434/1.065, allocations: 315.1 kB / 1.261 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of Backend: time 4.01e-07/1.065, allocations: 0 / 1.261 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00506/1.07, allocations: 2.128 MB / 1.263 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002134/1.072, allocations: 1.508 MB / 1.264 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of Templates: time 0.02821/1.1, allocations: 17.69 MB / 1.281 GB, free: 1.023 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches