Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 119.9 kB / 16.82 MB, free: 5.758 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.001896/0.001896, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.43/1.43, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.44 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3525, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006885/0.3594, allocations: 4.45 MB / 1.266 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005594/0.365, allocations: 3.287 MB / 1.27 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.3653, allocations: 11.94 kB / 1.27 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.367, allocations: 0.5135 MB / 1.27 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3681, allocations: 407.1 kB / 1.271 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.3688, allocations: 243.4 kB / 1.271 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.3696, allocations: 0.5995 MB / 1.271 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.3703, allocations: 421.3 kB / 1.272 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.3708, allocations: 295.1 kB / 1.272 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.3712, allocations: 283 kB / 1.272 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.536e-05/0.3713, allocations: 40 kB / 1.272 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.3719, allocations: 303.4 kB / 1.273 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3721, allocations: 163.5 kB / 1.273 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.3724, allocations: 238.8 kB / 1.273 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3734, allocations: 0.7903 MB / 1.274 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3734, allocations: 0 / 1.274 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3734, allocations: 0 / 1.274 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3734, allocations: 0 / 1.274 GB, free: 0.9414 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001429/0.3749, allocations: 0.7824 MB / 1.275 GB, free: 108 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3749, allocations: 8.625 kB / 1.275 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.3779, allocations: 0.6792 MB / 1.275 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.3787, allocations: 468 kB / 1.276 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3787, allocations: 24.97 kB / 1.276 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.3788, allocations: 32.12 kB / 1.276 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3805, allocations: 0.7903 MB / 1.276 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3806, allocations: 0 / 1.276 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.3806, allocations: 15.98 kB / 1.276 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.3807, allocations: 40.62 kB / 1.277 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.3829, allocations: 0.8687 MB / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.3871, allocations: 2.812 MB / 1.28 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3888, allocations: 0.5058 MB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.3895, allocations: 248.6 kB / 1.281 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3896, allocations: 93.03 kB / 1.281 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.3897, allocations: 38.5 kB / 1.281 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.3897, allocations: 0 / 1.281 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.01232/0.402, allocations: 3.06 MB / 1.284 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.402, allocations: 55.41 kB / 1.284 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.4026, allocations: 413.5 kB / 1.284 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.4027, allocations: 29.7 kB / 1.284 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.4029, allocations: 232.3 kB / 1.285 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.403, allocations: 91.27 kB / 1.285 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4032, allocations: 77.62 kB / 1.285 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4033, allocations: 346.7 kB / 1.285 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4043, allocations: 364.5 kB / 1.285 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.4054, allocations: 429.5 kB / 1.286 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.4074, allocations: 0.7543 MB / 1.287 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4074, allocations: 0 / 1.287 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005256/0.4127, allocations: 1.496 MB / 1.288 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.4127, allocations: 8 kB / 1.288 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4127, allocations: 0 / 1.288 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/0.4164, allocations: 0.7702 MB / 1.289 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.4171, allocations: 127.8 kB / 1.289 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007268/0.4243, allocations: 4.845 MB / 1.294 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.4252, allocations: 111.9 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4252, allocations: 19.98 kB / 1.294 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.4265, allocations: 0.5367 MB / 1.294 GB, free: 11.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.4275, allocations: 416.2 kB / 1.295 GB, free: 10.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001936/0.4294, allocations: 0.7298 MB / 1.295 GB, free: 9.812 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.4294, allocations: 4 kB / 1.295 GB, free: 9.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004349/0.4338, allocations: 1.262 MB / 1.297 GB, free: 8.535 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4338, allocations: 7.938 kB / 1.297 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4338, allocations: 4 kB / 1.297 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.4361, allocations: 0.5002 MB / 1.297 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.4367, allocations: 139.8 kB / 1.297 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.4405, allocations: 2.613 MB / 1.3 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.4413, allocations: 103.8 kB / 1.3 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.4414, allocations: 20.05 kB / 1.3 GB, free: 5.012 MB / 1.014 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.4416, allocations: 196.9 kB / 1.3 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4417, allocations: 35.77 kB / 1.3 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.4464, allocations: 1.352 MB / 1.302 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4464, allocations: 3.984 kB / 1.302 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4464, allocations: 0 / 1.302 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.4466, allocations: 168.8 kB / 1.302 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.4467, allocations: 8 kB / 1.302 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.4473, allocations: 83.8 kB / 1.302 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4474, allocations: 23.95 kB / 1.302 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003441/0.4508, allocations: 1.167 MB / 1.303 GB, free: 1.926 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00245/0.4533, allocations: 1.113 MB / 1.304 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007759/0.4541, allocations: 321.2 kB / 1.304 GB, free: 492 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005301/0.4546, allocations: 311.1 kB / 1.305 GB, free: 184 kB / 1.014 GB Notification: Performance of Backend: time 4e-07/0.4546, allocations: 0 / 1.305 GB, free: 184 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004312/0.4589, allocations: 1.431 MB / 1.306 GB, free: 14.7 MB / 1.029 GB Notification: Performance of SimCode: time 0.002479/0.4614, allocations: 1.444 MB / 1.307 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Templates: time 0.02685/0.4882, allocations: 15.78 MB / 1.323 GB, free: 13.52 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches