Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00143/0.00143, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001607/0.001607, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.89/2.89, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002114/0.002114, allocations: 67.45 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.297, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04389/0.3409, allocations: 33.77 MB / 1.316 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.3627, allocations: 11.55 MB / 1.327 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004865/0.3675, allocations: 210.4 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01643/0.384, allocations: 4.272 MB / 1.332 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.3926, allocations: 2.088 MB / 1.334 GB, free: 7.941 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008969/0.4015, allocations: 2.409 MB / 1.336 GB, free: 5.535 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01587/0.4174, allocations: 8.465 MB / 1.344 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.4321, allocations: 6.161 MB / 1.35 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.4399, allocations: 3.872 MB / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007464/0.4473, allocations: 4.143 MB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.449, allocations: 0.7812 MB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005658/0.4547, allocations: 1.903 MB / 1.361 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004806/0.4595, allocations: 3.141 MB / 1.364 GB, free: 8.891 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004946/0.4644, allocations: 2.747 MB / 1.367 GB, free: 6.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.4799, allocations: 12.07 MB / 1.378 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4799, allocations: 0 / 1.378 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4799, allocations: 0 / 1.378 GB, free: 10.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003666/0.4803, allocations: 0 / 1.378 GB, free: 10.02 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01546/0.4957, allocations: 5.863 MB / 1.384 GB, free: 4.098 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4958, allocations: 12.03 kB / 1.384 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.5019, allocations: 1.086 MB / 1.385 GB, free: 2.996 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00868/0.5106, allocations: 3.419 MB / 1.388 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.511, allocations: 419.5 kB / 1.389 GB, free: 15.1 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.5127, allocations: 0.5354 MB / 1.389 GB, free: 14.57 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.5316, allocations: 9.384 MB / 1.399 GB, free: 4.789 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.5317, allocations: 35.77 kB / 1.399 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005946/0.5323, allocations: 232 kB / 1.399 GB, free: 4.527 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004184/0.5328, allocations: 354.7 kB / 1.399 GB, free: 4.18 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.5473, allocations: 6.818 MB / 1.406 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.5876, allocations: 24.25 MB / 1.429 GB, free: 4.496 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.5914, allocations: 2.3 MB / 1.432 GB, free: 2.203 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/0.5941, allocations: 1.775 MB / 1.433 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-05/0.5942, allocations: 22 kB / 1.433 GB, free: 412 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5943, allocations: 52.55 kB / 1.434 GB, free: 352 kB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 4.438e-06/0.5943, allocations: 0 / 1.434 GB, free: 352 kB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02617/0.6205, allocations: 9.675 MB / 1.443 GB, free: 6.652 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.6205, allocations: 69.41 kB / 1.443 GB, free: 6.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.6228, allocations: 1.449 MB / 1.444 GB, free: 5.121 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.623, allocations: 53.7 kB / 1.445 GB, free: 5.062 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6249, allocations: 2.311 MB / 1.447 GB, free: 2.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006853/0.6256, allocations: 0.6623 MB / 1.447 GB, free: 2.062 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/0.6262, allocations: 416.1 kB / 1.448 GB, free: 1.648 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6264, allocations: 305.1 kB / 1.448 GB, free: 1.348 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.6281, allocations: 1.179 MB / 1.449 GB, free: 168 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.6306, allocations: 1.881 MB / 1.451 GB, free: 13.97 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.6354, allocations: 3.379 MB / 1.454 GB, free: 10.28 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.6354, allocations: 4 kB / 1.454 GB, free: 10.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008369/0.6438, allocations: 4.52 MB / 1.459 GB, free: 5.734 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.6438, allocations: 19.98 kB / 1.459 GB, free: 5.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.6438, allocations: 20 kB / 1.459 GB, free: 5.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/0.6479, allocations: 1.585 MB / 1.46 GB, free: 4.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.6492, allocations: 355.3 kB / 1.461 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02595/0.6752, allocations: 17.81 MB / 1.478 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.6772, allocations: 119.9 kB / 1.478 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.6774, allocations: 92 kB / 1.478 GB, free: 1.336 MB / 1.17 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.003981/0.6814, allocations: 1.906 MB / 1.48 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.682, allocations: 226.6 kB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007454/0.6895, allocations: 4.04 MB / 1.484 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.6895, allocations: 20 kB / 1.484 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.6895, allocations: 16 kB / 1.484 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.6895, allocations: 11.95 kB / 1.484 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.7052, allocations: 7.837 MB / 1.492 GB, free: 3.109 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7052, allocations: 4 kB / 1.492 GB, free: 3.105 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/0.7062, allocations: 187.6 kB / 1.492 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003742/0.7099, allocations: 1.352 MB / 1.494 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.7101, allocations: 32 kB / 1.494 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/0.7353, allocations: 16.62 MB / 1.51 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.7353, allocations: 7.938 kB / 1.51 GB, free: 0.5 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007771/0.7431, allocations: 4.02 MB / 1.514 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.7447, allocations: 466.5 kB / 1.514 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.745, allocations: 36 kB / 1.514 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/0.7459, allocations: 83.89 kB / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005271/0.7465, allocations: 173.5 kB / 1.514 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/0.7467, allocations: 48.5 kB / 1.515 GB, free: 11.6 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001438/0.7481, allocations: 0.9232 MB / 1.515 GB, free: 10.68 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7481, allocations: 0 / 1.515 GB, free: 10.68 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003201/0.7513, allocations: 0.9844 MB / 1.516 GB, free: 9.699 MB / 1.217 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.0002927/0.7516, allocations: 145.4 kB / 1.517 GB, free: 9.547 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007633/0.7592, allocations: 4.167 MB / 1.521 GB, free: 5.332 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7592, allocations: 0 / 1.521 GB, free: 5.332 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.764, allocations: 2.583 MB / 1.523 GB, free: 2.695 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.7674, allocations: 0.7537 MB / 1.524 GB, free: 1.969 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.7842, allocations: 8.884 MB / 1.533 GB, free: 8.996 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004786/0.789, allocations: 3.035 MB / 1.535 GB, free: 5.918 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001427/0.7904, allocations: 447.1 kB / 1.536 GB, free: 5.477 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.7907, allocations: 119.4 kB / 1.536 GB, free: 5.359 MB / 1.232 GB Notification: Performance of SimCode: time 8.61e-07/0.7907, allocations: 0 / 1.536 GB, free: 5.359 MB / 1.232 GB Notification: Performance of Templates: time 0.08841/0.8792, allocations: 50.24 MB / 1.585 GB, free: 3.906 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.448261927813292]