Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001566/0.001566, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001919/0.001919, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.306/3.306, allocations: 0.49 GB / 0.7958 GB, free: 33.62 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.002041/0.002041, allocations: 71.12 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 176.1 MB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02742/0.3843, allocations: 21.23 MB / 1.348 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3968, allocations: 6.718 MB / 1.354 GB, free: 5.258 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.3992, allocations: 115.2 kB / 1.355 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006705/0.4059, allocations: 2.347 MB / 1.357 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.4099, allocations: 1.24 MB / 1.358 GB, free: 1.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.4139, allocations: 1.321 MB / 1.359 GB, free: 232 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.4212, allocations: 4.851 MB / 1.364 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005422/0.4266, allocations: 3.178 MB / 1.367 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.4305, allocations: 2.154 MB / 1.369 GB, free: 5.949 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/0.4352, allocations: 2.473 MB / 1.372 GB, free: 3.469 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.4363, allocations: 432 kB / 1.372 GB, free: 3.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.4389, allocations: 1.018 MB / 1.373 GB, free: 2.027 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4411, allocations: 1.715 MB / 1.375 GB, free: 316 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4443, allocations: 1.918 MB / 1.377 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00886/0.4531, allocations: 6.53 MB / 1.383 GB, free: 7.832 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4531, allocations: 0 / 1.383 GB, free: 7.832 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4531, allocations: 4 kB / 1.383 GB, free: 7.828 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002033/0.4533, allocations: 0 / 1.383 GB, free: 7.828 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00874/0.4621, allocations: 3.466 MB / 1.386 GB, free: 4.312 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4621, allocations: 8.031 kB / 1.386 GB, free: 4.305 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.4656, allocations: 0.6584 MB / 1.387 GB, free: 3.645 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.4708, allocations: 1.993 MB / 1.389 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4711, allocations: 222.3 kB / 1.389 GB, free: 1.379 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.4719, allocations: 296.3 kB / 1.389 GB, free: 1.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009984/0.4819, allocations: 4.894 MB / 1.394 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.295e-05/0.482, allocations: 7.938 kB / 1.394 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.4823, allocations: 131.9 kB / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004805/0.4828, allocations: 229.7 kB / 1.395 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007679/0.4905, allocations: 3.75 MB / 1.398 GB, free: 7.867 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.5184, allocations: 21.23 MB / 1.419 GB, free: 0.6328 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.5203, allocations: 1.231 MB / 1.42 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.5219, allocations: 0.9836 MB / 1.421 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/0.5219, allocations: 24.94 kB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.522, allocations: 43.56 kB / 1.421 GB, free: 14.33 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 2.975e-06/0.522, allocations: 0 / 1.421 GB, free: 14.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.02459/0.5466, allocations: 8.428 MB / 1.429 GB, free: 5.898 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.5467, allocations: 68.72 kB / 1.43 GB, free: 5.82 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5484, allocations: 1.134 MB / 1.431 GB, free: 4.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.5486, allocations: 49.7 kB / 1.431 GB, free: 4.625 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.5497, allocations: 1.331 MB / 1.432 GB, free: 3.281 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.5502, allocations: 0.4996 MB / 1.432 GB, free: 2.777 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.5507, allocations: 291.5 kB / 1.433 GB, free: 2.484 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5509, allocations: 305.1 kB / 1.433 GB, free: 2.184 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.5523, allocations: 0.9135 MB / 1.434 GB, free: 1.27 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.554, allocations: 1.33 MB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.5574, allocations: 2.422 MB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5574, allocations: 7.938 kB / 1.438 GB, free: 13.17 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006566/0.564, allocations: 3.43 MB / 1.441 GB, free: 9.723 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.564, allocations: 8 kB / 1.441 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.564, allocations: 19.98 kB / 1.441 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003376/0.5674, allocations: 1.185 MB / 1.442 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5684, allocations: 255.6 kB / 1.442 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/0.5877, allocations: 13.55 MB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5891, allocations: 87.97 kB / 1.456 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.5892, allocations: 68 kB / 1.456 GB, free: 10.22 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.5913, allocations: 1.115 MB / 1.457 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.5917, allocations: 171 kB / 1.457 GB, free: 8.926 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.5978, allocations: 3.138 MB / 1.46 GB, free: 5.77 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.5978, allocations: 16 kB / 1.46 GB, free: 5.754 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.5978, allocations: 15.94 kB / 1.46 GB, free: 5.738 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5979, allocations: 3.984 kB / 1.46 GB, free: 5.734 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6094, allocations: 6.19 MB / 1.466 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.6094, allocations: 4 kB / 1.466 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.61, allocations: 143.8 kB / 1.466 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002954/0.6129, allocations: 1.068 MB / 1.467 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.6131, allocations: 28 kB / 1.467 GB, free: 14.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.6318, allocations: 13.25 MB / 1.48 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.6318, allocations: 8 kB / 1.48 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/0.6377, allocations: 3.116 MB / 1.483 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.6388, allocations: 358.8 kB / 1.484 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.639, allocations: 31.94 kB / 1.484 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.6398, allocations: 83.89 kB / 1.484 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/0.6402, allocations: 128.6 kB / 1.484 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.6403, allocations: 43.98 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001203/0.6415, allocations: 0.767 MB / 1.485 GB, free: 11.96 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6415, allocations: 0 / 1.485 GB, free: 11.96 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00218/0.6437, allocations: 0.6602 MB / 1.485 GB, free: 11.3 MB / 1.186 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.644, allocations: 143 kB / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.6494, allocations: 3.005 MB / 1.488 GB, free: 8.105 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.6494, allocations: 0 / 1.488 GB, free: 8.105 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/0.6527, allocations: 1.893 MB / 1.49 GB, free: 6.172 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.6551, allocations: 0.4996 MB / 1.491 GB, free: 5.684 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.6665, allocations: 5.962 MB / 1.497 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.6694, allocations: 2.383 MB / 1.499 GB, free: 13.22 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6698, allocations: 95.44 kB / 1.499 GB, free: 13.13 MB / 1.201 GB Notification: Performance of SimCode: time 1.163e-06/0.6698, allocations: 4 kB / 1.499 GB, free: 13.12 MB / 1.201 GB Notification: Performance of Templates: time 0.1041/0.7739, allocations: 79.74 MB / 1.577 GB, free: 13.47 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 18.078012930986006]