Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001608/0.001608, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001866/0.001866, allocations: 214.6 kB / 22.25 MB, free: 4.867 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.504/1.504, allocations: 230.6 MB / 256 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.225/3.225, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002028/0.002028, allocations: 67.94 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04622/0.3776, allocations: 36.43 MB / 1.361 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.398, allocations: 11.12 MB / 1.372 GB, free: 2.164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.4017, allocations: 198.6 kB / 1.372 GB, free: 1.969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01231/0.414, allocations: 4.378 MB / 1.376 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007264/0.4212, allocations: 2.332 MB / 1.379 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.4272, allocations: 2.183 MB / 1.381 GB, free: 9.059 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01223/0.4394, allocations: 9.277 MB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.4516, allocations: 6.33 MB / 1.396 GB, free: 9.297 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007241/0.4589, allocations: 4.129 MB / 1.4 GB, free: 5.156 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007904/0.4668, allocations: 4.458 MB / 1.404 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002239/0.469, allocations: 0.8204 MB / 1.405 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.4731, allocations: 1.502 MB / 1.407 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.4772, allocations: 3.238 MB / 1.41 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005208/0.4824, allocations: 2.965 MB / 1.413 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.4969, allocations: 12.4 MB / 1.425 GB, free: 11.7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4969, allocations: 0 / 1.425 GB, free: 11.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4969, allocations: 3.938 kB / 1.425 GB, free: 11.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000313/0.4972, allocations: 0 / 1.425 GB, free: 11.7 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0151/0.5123, allocations: 6.407 MB / 1.431 GB, free: 5.227 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5123, allocations: 8.031 kB / 1.431 GB, free: 5.219 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.5176, allocations: 1.094 MB / 1.432 GB, free: 4.121 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009831/0.5274, allocations: 3.576 MB / 1.436 GB, free: 492 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.5277, allocations: 423.8 kB / 1.436 GB, free: 68 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.5289, allocations: 0.5471 MB / 1.437 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.5491, allocations: 10.28 MB / 1.447 GB, free: 4.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/0.5493, allocations: 19.83 kB / 1.447 GB, free: 4.66 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.5504, allocations: 248 kB / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006895/0.5511, allocations: 422.9 kB / 1.447 GB, free: 4.004 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.5657, allocations: 7.116 MB / 1.454 GB, free: 12.88 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.6136, allocations: 25.36 MB / 1.479 GB, free: 2.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/0.6191, allocations: 2.906 MB / 1.482 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.6223, allocations: 1.93 MB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.6225, allocations: 22 kB / 1.484 GB, free: 14.03 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.6226, allocations: 56.56 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.668e-06/0.6226, allocations: 4 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02656/0.6491, allocations: 10.25 MB / 1.494 GB, free: 3.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.6492, allocations: 73.41 kB / 1.494 GB, free: 3.613 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.6527, allocations: 1.837 MB / 1.496 GB, free: 1.746 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6529, allocations: 65.7 kB / 1.496 GB, free: 1.676 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.655, allocations: 2.481 MB / 1.498 GB, free: 15.17 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008164/0.6558, allocations: 0.7746 MB / 1.499 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009285/0.6567, allocations: 477.5 kB / 1.499 GB, free: 13.92 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6568, allocations: 305.1 kB / 1.5 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.6592, allocations: 1.376 MB / 1.501 GB, free: 12.24 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.6622, allocations: 2.108 MB / 1.503 GB, free: 9.816 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/0.6678, allocations: 3.766 MB / 1.507 GB, free: 5.738 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/0.6679, allocations: 8 kB / 1.507 GB, free: 5.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009149/0.677, allocations: 5.008 MB / 1.512 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.677, allocations: 15.98 kB / 1.512 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.143e-05/0.6771, allocations: 24 kB / 1.512 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.6809, allocations: 1.572 MB / 1.513 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.6827, allocations: 455.2 kB / 1.514 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02574/0.7084, allocations: 17.78 MB / 1.531 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.7109, allocations: 147.9 kB / 1.531 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003962/0.7113, allocations: 112 kB / 1.531 GB, free: 12.19 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004153/0.7155, allocations: 1.942 MB / 1.533 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/0.7163, allocations: 282.3 kB / 1.534 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008474/0.7248, allocations: 4.393 MB / 1.538 GB, free: 5.539 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.7248, allocations: 24 kB / 1.538 GB, free: 5.516 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-05/0.7248, allocations: 16 kB / 1.538 GB, free: 5.5 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.7248, allocations: 11.95 kB / 1.538 GB, free: 5.488 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.7442, allocations: 8.35 MB / 1.546 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.7442, allocations: 11.98 kB / 1.546 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.7452, allocations: 231.6 kB / 1.546 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003756/0.749, allocations: 1.421 MB / 1.548 GB, free: 11.34 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.7492, allocations: 40 kB / 1.548 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/0.7744, allocations: 17.79 MB / 1.565 GB, free: 9.105 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.7744, allocations: 7.938 kB / 1.565 GB, free: 9.098 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/0.7827, allocations: 4.482 MB / 1.569 GB, free: 4.527 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/0.7845, allocations: 0.5489 MB / 1.57 GB, free: 3.977 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006063/0.7851, allocations: 43.94 kB / 1.57 GB, free: 3.934 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.7868, allocations: 115.9 kB / 1.57 GB, free: 3.82 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/0.7873, allocations: 189.5 kB / 1.57 GB, free: 3.637 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.7875, allocations: 64 kB / 1.57 GB, free: 3.574 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002211/0.7897, allocations: 1.168 MB / 1.572 GB, free: 2.391 MB / 1.264 GB Notification: Performance of sort global known variables: time 6e-08/0.7897, allocations: 0 / 1.572 GB, free: 2.391 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003759/0.7934, allocations: 1.137 MB / 1.573 GB, free: 1.254 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003803/0.7938, allocations: 159 kB / 1.573 GB, free: 1.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008283/0.8021, allocations: 4.556 MB / 1.577 GB, free: 12.48 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/0.8021, allocations: 4 kB / 1.577 GB, free: 12.47 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005078/0.8072, allocations: 2.792 MB / 1.58 GB, free: 9.637 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/0.8117, allocations: 0.8212 MB / 1.581 GB, free: 8.832 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/0.8326, allocations: 9.558 MB / 1.59 GB, free: 15.17 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/0.8388, allocations: 3.158 MB / 1.593 GB, free: 11.97 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002171/0.841, allocations: 0.5343 MB / 1.594 GB, free: 11.43 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/0.8415, allocations: 135.4 kB / 1.594 GB, free: 11.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/0.8415, allocations: 0 / 1.594 GB, free: 11.3 MB / 1.295 GB Notification: Performance of Templates: time 0.7562/1.598, allocations: 58.63 MB / 1.651 GB, free: 239 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 11.38105677627027]