Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 216.3 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.28 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.375, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.01015/0.3852, allocations: 5.007 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006919/0.3921, allocations: 3.649 MB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.3925, allocations: 15.88 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3944, allocations: 0.5573 MB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3957, allocations: 490.9 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.3964, allocations: 267.4 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.3976, allocations: 0.7126 MB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.3981, allocations: 342 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.3987, allocations: 423 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.3992, allocations: 310.9 kB / 1.339 GB, free: 5.238 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.872e-05/0.3993, allocations: 44 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.3999, allocations: 283.5 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.4001, allocations: 183.5 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.4003, allocations: 195.1 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.4014, allocations: 0.8448 MB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4014, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4014, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4014, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 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.001669/0.4031, allocations: 0.7671 MB / 1.341 GB, free: 2.898 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4031, allocations: 11.97 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.4063, allocations: 0.687 MB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008694/0.4072, allocations: 406.2 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.4072, allocations: 21.03 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4073, allocations: 36.11 kB / 1.342 GB, free: 1.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.4092, allocations: 0.8852 MB / 1.343 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.4092, allocations: 7.938 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.4093, allocations: 12 kB / 1.343 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.4095, allocations: 60.59 kB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.4117, allocations: 0.9311 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.416, allocations: 2.102 MB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.4179, allocations: 0.5448 MB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.4187, allocations: 292.5 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-05/0.4188, allocations: 11.98 kB / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.4188, allocations: 38.56 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.4188, allocations: 0 / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=36): time 0.01752/0.4364, allocations: 4.009 MB / 1.351 GB, free: 8.703 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4364, allocations: 55.41 kB / 1.351 GB, free: 8.637 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.437, allocations: 397.5 kB / 1.351 GB, free: 8.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.4371, allocations: 33.7 kB / 1.351 GB, free: 8.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.4373, allocations: 244.6 kB / 1.351 GB, free: 7.957 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.4374, allocations: 134.8 kB / 1.351 GB, free: 7.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.4377, allocations: 86.11 kB / 1.351 GB, free: 7.734 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4378, allocations: 350.8 kB / 1.352 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4391, allocations: 450.2 kB / 1.352 GB, free: 6.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.4403, allocations: 0.5533 MB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.4427, allocations: 0.9579 MB / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4427, allocations: 0 / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.007083/0.4498, allocations: 1.916 MB / 1.356 GB, free: 3.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4498, allocations: 8 kB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4499, allocations: 7.938 kB / 1.356 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/0.4552, allocations: 1.024 MB / 1.357 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.4559, allocations: 127.8 kB / 1.357 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.4687, allocations: 6.638 MB / 1.363 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4697, allocations: 111.9 kB / 1.363 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.4697, allocations: 19.98 kB / 1.363 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.4712, allocations: 0.645 MB / 1.364 GB, free: 10.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001216/0.4724, allocations: 0.5335 MB / 1.365 GB, free: 10.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002213/0.4747, allocations: 0.9407 MB / 1.365 GB, free: 9.094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.4747, allocations: 3.938 kB / 1.365 GB, free: 9.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.006006/0.4807, allocations: 1.747 MB / 1.367 GB, free: 7.328 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4807, allocations: 11.98 kB / 1.367 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4807, allocations: 0 / 1.367 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003852/0.4846, allocations: 0.7938 MB / 1.368 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.4853, allocations: 131.8 kB / 1.368 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.4959, allocations: 6.145 MB / 1.374 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.497, allocations: 115.8 kB / 1.374 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.497, allocations: 16.56 kB / 1.374 GB, free: 15.91 MB / 1.076 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.4973, allocations: 208.7 kB / 1.374 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4974, allocations: 43.7 kB / 1.374 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/0.5036, allocations: 1.759 MB / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5036, allocations: 0 / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5036, allocations: 0 / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.504, allocations: 119.6 kB / 1.376 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.5041, allocations: 4 kB / 1.376 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.5048, allocations: 95.8 kB / 1.376 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5049, allocations: 43.88 kB / 1.376 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00486/0.5098, allocations: 1.567 MB / 1.378 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002879/0.5127, allocations: 1.413 MB / 1.379 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008632/0.5135, allocations: 407.4 kB / 1.38 GB, free: 10.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004338/0.514, allocations: 311.1 kB / 1.38 GB, free: 9.914 MB / 1.076 GB Notification: Performance of Backend: time 3.41e-07/0.514, allocations: 0 / 1.38 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00791/0.5219, allocations: 2.391 MB / 1.382 GB, free: 7.465 MB / 1.076 GB Notification: Performance of SimCode: time 0.00232/0.5242, allocations: 1.63 MB / 1.384 GB, free: 5.777 MB / 1.076 GB Notification: Performance of Templates: time 0.03484/0.559, allocations: 21.48 MB / 1.405 GB, free: 480 kB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.592956689004495]