Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.001677/0.001677, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.0021/0.0021, allocations: 207.9 kB / 23 MB, free: 4.965 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [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.00208/0.00208, allocations: 66.41 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3819, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01745/0.3994, allocations: 11.56 MB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.4097, allocations: 5.396 MB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.4108, allocations: 51.59 kB / 1.344 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.414, allocations: 1.03 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.4159, allocations: 0.6569 MB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.4184, allocations: 0.9266 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002988/0.4214, allocations: 2.466 MB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.4237, allocations: 1.643 MB / 1.35 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.4254, allocations: 1.181 MB / 1.351 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.4272, allocations: 1.258 MB / 1.353 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.4276, allocations: 235.9 kB / 1.353 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.4286, allocations: 0.4994 MB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.4295, allocations: 0.9237 MB / 1.354 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/0.4305, allocations: 0.7978 MB / 1.355 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.4344, allocations: 3.587 MB / 1.359 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4344, allocations: 4 kB / 1.359 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4344, allocations: 0 / 1.359 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.306e-05/0.4344, allocations: 0 / 1.359 GB, free: 0.6602 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004004/0.4384, allocations: 1.894 MB / 1.36 GB, free: 14.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4385, allocations: 8.031 kB / 1.36 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.4412, allocations: 0.4915 MB / 1.361 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.4438, allocations: 1.094 MB / 1.362 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.4439, allocations: 111.5 kB / 1.362 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.4443, allocations: 160.1 kB / 1.362 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/0.4493, allocations: 2.871 MB / 1.365 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.4494, allocations: 7.938 kB / 1.365 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.4496, allocations: 63.98 kB / 1.365 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003244/0.4499, allocations: 147 kB / 1.365 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004095/0.454, allocations: 2.299 MB / 1.367 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.4657, allocations: 6.68 MB / 1.374 GB, free: 488 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.4671, allocations: 0.5921 MB / 1.375 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.4679, allocations: 376.6 kB / 1.375 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.4679, allocations: 15.98 kB / 1.375 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.468, allocations: 34.56 kB / 1.375 GB, free: 15.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 2.635e-06/0.468, allocations: 4 kB / 1.375 GB, free: 15.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=52): time 0.02391/0.4919, allocations: 5.689 MB / 1.381 GB, free: 9.723 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4919, allocations: 67.83 kB / 1.381 GB, free: 9.645 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.4932, allocations: 0.8435 MB / 1.381 GB, free: 8.789 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4933, allocations: 33.7 kB / 1.381 GB, free: 8.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.4939, allocations: 0.7798 MB / 1.382 GB, free: 7.961 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.4941, allocations: 198.4 kB / 1.382 GB, free: 7.766 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4945, allocations: 190.6 kB / 1.383 GB, free: 7.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.4948, allocations: 386.8 kB / 1.383 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.496, allocations: 0.6527 MB / 1.384 GB, free: 6.527 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.4975, allocations: 1.064 MB / 1.385 GB, free: 5.289 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.5002, allocations: 1.669 MB / 1.386 GB, free: 3.461 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5003, allocations: 8 kB / 1.386 GB, free: 3.453 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009827/0.5101, allocations: 3.111 MB / 1.389 GB, free: 328 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5101, allocations: 8 kB / 1.389 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5101, allocations: 12 kB / 1.389 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007796/0.5179, allocations: 1.654 MB / 1.391 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.519, allocations: 227.6 kB / 1.391 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/0.5348, allocations: 10.01 MB / 1.401 GB, free: 3.996 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5364, allocations: 171.7 kB / 1.401 GB, free: 3.828 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5365, allocations: 43.98 kB / 1.401 GB, free: 3.785 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002345/0.5388, allocations: 1.306 MB / 1.402 GB, free: 2.477 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001544/0.5404, allocations: 1.037 MB / 1.403 GB, free: 1.262 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002637/0.543, allocations: 1.614 MB / 1.405 GB, free: 15.49 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.543, allocations: 0 / 1.405 GB, free: 15.49 MB / 1.107 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.008069/0.5511, allocations: 2.645 MB / 1.408 GB, free: 12.83 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5511, allocations: 19.92 kB / 1.408 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.5511, allocations: 12 kB / 1.408 GB, free: 12.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005087/0.5562, allocations: 1.063 MB / 1.409 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5574, allocations: 251.5 kB / 1.409 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008297/0.5657, allocations: 5.468 MB / 1.414 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.5671, allocations: 151.7 kB / 1.414 GB, free: 5.656 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5672, allocations: 47.92 kB / 1.414 GB, free: 5.609 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003424/0.5676, allocations: 242.3 kB / 1.415 GB, free: 5.367 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5677, allocations: 79.53 kB / 1.415 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008333/0.5761, allocations: 2.551 MB / 1.417 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.5761, allocations: 3.984 kB / 1.417 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5761, allocations: 4 kB / 1.417 GB, free: 2.707 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/0.5767, allocations: 191.5 kB / 1.417 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5769, allocations: 12 kB / 1.417 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/0.5777, allocations: 111.8 kB / 1.418 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.5779, allocations: 56.27 kB / 1.418 GB, free: 2.344 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00561/0.5835, allocations: 2.087 MB / 1.42 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002877/0.5864, allocations: 1.792 MB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008395/0.5873, allocations: 0.5264 MB / 1.422 GB, free: 13.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009653/0.5882, allocations: 0.6083 MB / 1.422 GB, free: 13.3 MB / 1.123 GB Notification: Performance of Backend: time 2.7e-07/0.5882, allocations: 3.938 kB / 1.422 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005907/0.5941, allocations: 2.792 MB / 1.425 GB, free: 10.42 MB / 1.123 GB Notification: Performance of SimCode: time 0.005631/0.5998, allocations: 3.362 MB / 1.429 GB, free: 7.008 MB / 1.123 GB Notification: Performance of Templates: time 0.0507/0.6505, allocations: 31.84 MB / 1.46 GB, free: 7.41 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.944900271002552]