Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001739/0.001739, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002207/0.002207, allocations: 213 kB / 22.99 MB, free: 4.945 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.565/1.565, 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.379/3.379, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002111/0.002111, allocations: 66.22 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4185, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04724/0.4657, allocations: 33.78 MB / 1.359 GB, free: 0 / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02581/0.4915, allocations: 11.54 MB / 1.371 GB, free: 4.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/0.4959, allocations: 206.5 kB / 1.371 GB, free: 4.227 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.5085, allocations: 4.267 MB / 1.375 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007616/0.5161, allocations: 2.088 MB / 1.377 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009376/0.5255, allocations: 2.412 MB / 1.379 GB, free: 11.44 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01467/0.5401, allocations: 8.461 MB / 1.388 GB, free: 2.953 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/0.5518, allocations: 6.161 MB / 1.394 GB, free: 12.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/0.5601, allocations: 3.876 MB / 1.397 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008631/0.5687, allocations: 4.147 MB / 1.401 GB, free: 4.621 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002655/0.5713, allocations: 0.7773 MB / 1.402 GB, free: 3.844 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005798/0.5771, allocations: 1.899 MB / 1.404 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005632/0.5828, allocations: 3.141 MB / 1.407 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007516/0.5903, allocations: 2.747 MB / 1.41 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.6088, allocations: 12.07 MB / 1.422 GB, free: 15.92 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.6088, allocations: 0 / 1.422 GB, free: 15.92 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6088, allocations: 4 kB / 1.422 GB, free: 15.92 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004067/0.6092, allocations: 0 / 1.422 GB, free: 15.92 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02009/0.6293, allocations: 5.867 MB / 1.427 GB, free: 9.992 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6293, allocations: 8.031 kB / 1.427 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007809/0.6371, allocations: 1.086 MB / 1.428 GB, free: 8.895 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009954/0.6471, allocations: 3.419 MB / 1.432 GB, free: 5.406 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/0.6476, allocations: 415.5 kB / 1.432 GB, free: 5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/0.6502, allocations: 0.5354 MB / 1.433 GB, free: 4.465 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/0.6766, allocations: 9.38 MB / 1.442 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003796/0.6769, allocations: 39.72 kB / 1.442 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002153/0.6791, allocations: 232 kB / 1.442 GB, free: 10.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005198/0.6796, allocations: 350.8 kB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.6971, allocations: 6.822 MB / 1.449 GB, free: 3.25 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04703/0.7441, allocations: 24.26 MB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.7484, allocations: 2.298 MB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/0.7515, allocations: 1.779 MB / 1.477 GB, free: 6.324 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.7517, allocations: 18 kB / 1.477 GB, free: 6.305 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.7517, allocations: 52.56 kB / 1.477 GB, free: 6.246 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 5.481e-06/0.7517, allocations: 0 / 1.477 GB, free: 6.246 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02732/0.7791, allocations: 9.671 MB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.7791, allocations: 69.41 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.7818, allocations: 1.445 MB / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.7821, allocations: 61.64 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.784, allocations: 2.319 MB / 1.49 GB, free: 8.625 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008793/0.7849, allocations: 0.6584 MB / 1.491 GB, free: 7.961 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007969/0.7857, allocations: 408.2 kB / 1.491 GB, free: 7.555 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7858, allocations: 313 kB / 1.491 GB, free: 7.246 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.7878, allocations: 1.176 MB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.7905, allocations: 1.881 MB / 1.494 GB, free: 3.867 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.7954, allocations: 3.371 MB / 1.498 GB, free: 188 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.023e-05/0.7955, allocations: 8 kB / 1.498 GB, free: 180 kB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008709/0.8042, allocations: 4.523 MB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.8042, allocations: 16 kB / 1.502 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/0.8043, allocations: 24 kB / 1.502 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/0.8087, allocations: 1.585 MB / 1.504 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.8101, allocations: 355.4 kB / 1.504 GB, free: 9.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/0.8368, allocations: 17.83 MB / 1.521 GB, free: 7.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.8389, allocations: 119.9 kB / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.8393, allocations: 95.98 kB / 1.522 GB, free: 7.199 MB / 1.217 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004135/0.8435, allocations: 1.891 MB / 1.523 GB, free: 5.297 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/0.8442, allocations: 222.6 kB / 1.524 GB, free: 5.078 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/0.8521, allocations: 4.048 MB / 1.528 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.8521, allocations: 16 kB / 1.528 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.897e-05/0.8521, allocations: 20 kB / 1.528 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.8522, allocations: 7.969 kB / 1.528 GB, free: 0.957 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.8698, allocations: 7.829 MB / 1.535 GB, free: 9.004 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.8699, allocations: 4 kB / 1.535 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.8707, allocations: 179.7 kB / 1.535 GB, free: 8.824 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/0.8744, allocations: 1.358 MB / 1.537 GB, free: 7.457 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/0.8746, allocations: 39.98 kB / 1.537 GB, free: 7.418 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/0.8988, allocations: 16.61 MB / 1.553 GB, free: 6.398 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.8988, allocations: 4 kB / 1.553 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008135/0.9069, allocations: 4.028 MB / 1.557 GB, free: 2.281 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/0.9086, allocations: 458.5 kB / 1.557 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005981/0.9092, allocations: 36 kB / 1.557 GB, free: 1.797 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.9106, allocations: 83.89 kB / 1.558 GB, free: 1.715 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/0.9111, allocations: 169.6 kB / 1.558 GB, free: 1.547 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.9113, allocations: 51.98 kB / 1.558 GB, free: 1.496 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001789/0.9131, allocations: 0.9232 MB / 1.559 GB, free: 0.582 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.9131, allocations: 0 / 1.559 GB, free: 0.582 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004233/0.9173, allocations: 0.9805 MB / 1.56 GB, free: 15.6 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003847/0.9177, allocations: 158.9 kB / 1.56 GB, free: 15.43 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00817/0.9258, allocations: 4.156 MB / 1.564 GB, free: 11.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.9259, allocations: 0 / 1.564 GB, free: 11.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005178/0.931, allocations: 2.595 MB / 1.566 GB, free: 8.586 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/0.9357, allocations: 0.7575 MB / 1.567 GB, free: 7.859 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/0.9628, allocations: 9.64 MB / 1.577 GB, free: 14.12 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009568/0.9724, allocations: 3.129 MB / 1.58 GB, free: 10.95 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.9731, allocations: 123.4 kB / 1.58 GB, free: 10.83 MB / 1.279 GB Notification: Performance of SimCode: time 2.775e-06/0.9731, allocations: 0 / 1.58 GB, free: 10.83 MB / 1.279 GB Notification: Performance of Templates: time 0.9447/1.918, allocations: 161.3 MB / 1.737 GB, free: 150.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 23.585461005102843]