Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.001339/0.001339, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001507/0.001507, allocations: 212.1 kB / 23 MB, free: 4.934 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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_N,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.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,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.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [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.002022/0.002022, allocations: 66.64 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01624/0.3621, allocations: 11.65 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3725, allocations: 5.607 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009512/0.3734, allocations: 51.69 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.3765, allocations: 1.027 MB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3782, allocations: 0.6841 MB / 1.346 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.3806, allocations: 0.9856 MB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.3835, allocations: 2.584 MB / 1.349 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.386, allocations: 1.761 MB / 1.351 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3879, allocations: 1.262 MB / 1.352 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.3898, allocations: 1.387 MB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.3902, allocations: 256 kB / 1.354 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3913, allocations: 0.5423 MB / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009794/0.3923, allocations: 0.9626 MB / 1.355 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3934, allocations: 0.8679 MB / 1.356 GB, free: 3.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004406/0.3978, allocations: 3.871 MB / 1.36 GB, free: 15.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3978, allocations: 0 / 1.36 GB, free: 15.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3978, allocations: 0 / 1.36 GB, free: 15.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.999e-05/0.3979, allocations: 0 / 1.36 GB, free: 15.35 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.0046/0.4025, allocations: 2.05 MB / 1.362 GB, free: 13.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4025, allocations: 8.031 kB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.4062, allocations: 0.7605 MB / 1.363 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.4093, allocations: 1.183 MB / 1.364 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4094, allocations: 119.6 kB / 1.364 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.4098, allocations: 156.1 kB / 1.364 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/0.4154, allocations: 3.102 MB / 1.367 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.4154, allocations: 3.938 kB / 1.367 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.4157, allocations: 75.97 kB / 1.367 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/0.416, allocations: 167.1 kB / 1.367 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/0.4205, allocations: 2.518 MB / 1.37 GB, free: 5.039 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.4333, allocations: 6.843 MB / 1.376 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.4351, allocations: 0.7837 MB / 1.377 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/0.4359, allocations: 495.7 kB / 1.378 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.436, allocations: 16.36 kB / 1.378 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.4361, allocations: 38.94 kB / 1.378 GB, free: 12.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.4361, allocations: 0 / 1.378 GB, free: 12.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.03351/0.4696, allocations: 7.846 MB / 1.385 GB, free: 4.832 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4696, allocations: 56.06 kB / 1.385 GB, free: 4.766 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4711, allocations: 0.8826 MB / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.4712, allocations: 33.7 kB / 1.386 GB, free: 3.832 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/0.4719, allocations: 0.8035 MB / 1.387 GB, free: 3.016 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.4722, allocations: 261.8 kB / 1.387 GB, free: 2.758 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.4726, allocations: 218.8 kB / 1.388 GB, free: 2.535 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4728, allocations: 390.8 kB / 1.388 GB, free: 2.145 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4744, allocations: 0.8101 MB / 1.389 GB, free: 1.332 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.4763, allocations: 1.209 MB / 1.39 GB, free: 15.96 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.4795, allocations: 1.994 MB / 1.392 GB, free: 13.81 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4795, allocations: 4 kB / 1.392 GB, free: 13.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01116/0.4907, allocations: 3.639 MB / 1.395 GB, free: 10.15 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4907, allocations: 8 kB / 1.395 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.4908, allocations: 12 kB / 1.395 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009058/0.4998, allocations: 1.896 MB / 1.397 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.5011, allocations: 239.6 kB / 1.397 GB, free: 7.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.519, allocations: 10.19 MB / 1.407 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5207, allocations: 183.6 kB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5209, allocations: 47.98 kB / 1.408 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002656/0.5235, allocations: 1.525 MB / 1.409 GB, free: 11.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001772/0.5253, allocations: 1.186 MB / 1.41 GB, free: 10.5 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003165/0.5284, allocations: 1.935 MB / 1.412 GB, free: 8.418 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.139e-05/0.5285, allocations: 4 kB / 1.412 GB, free: 8.414 MB / 1.107 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.009096/0.5376, allocations: 3.085 MB / 1.415 GB, free: 5.316 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5376, allocations: 11.98 kB / 1.415 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.5376, allocations: 12 kB / 1.415 GB, free: 5.293 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/0.5431, allocations: 1.199 MB / 1.416 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.5445, allocations: 283.5 kB / 1.417 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009778/0.5543, allocations: 5.642 MB / 1.422 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.5559, allocations: 171.7 kB / 1.422 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5561, allocations: 55.92 kB / 1.422 GB, free: 13.85 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.5565, allocations: 244.6 kB / 1.423 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.5567, allocations: 87.42 kB / 1.423 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.5667, allocations: 3.144 MB / 1.426 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.5667, allocations: 7.984 kB / 1.426 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5667, allocations: 7.938 kB / 1.426 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008951/0.5676, allocations: 251.3 kB / 1.426 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.5678, allocations: 12 kB / 1.426 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5688, allocations: 135.8 kB / 1.426 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.5691, allocations: 72.48 kB / 1.426 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00762/0.5767, allocations: 2.823 MB / 1.429 GB, free: 7.039 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003941/0.5807, allocations: 2.384 MB / 1.431 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001148/0.5818, allocations: 0.7428 MB / 1.432 GB, free: 3.895 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001118/0.5829, allocations: 0.6356 MB / 1.433 GB, free: 3.262 MB / 1.123 GB Notification: Performance of Backend: time 3.2e-07/0.5829, allocations: 0 / 1.433 GB, free: 3.262 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007238/0.5902, allocations: 3.024 MB / 1.436 GB, free: 196 kB / 1.123 GB Notification: Performance of SimCode: time 0.006982/0.5972, allocations: 3.777 MB / 1.439 GB, free: 12.36 MB / 1.139 GB Notification: Performance of Templates: time 0.06388/0.661, allocations: 38.31 MB / 1.477 GB, free: 6.355 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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: 10.221692175997305]