Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001858/0.001858, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002658/0.002658, allocations: 213 kB / 22.99 MB, free: 4.957 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.165/3.165, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [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.002078/0.002078, allocations: 70.94 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02127/0.3844, allocations: 15.48 MB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.3935, allocations: 4.778 MB / 1.347 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3948, allocations: 87.38 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.3979, allocations: 1.05 MB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.4003, allocations: 0.7776 MB / 1.349 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.4029, allocations: 0.9221 MB / 1.35 GB, free: 9.824 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0046/0.4075, allocations: 3.618 MB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.4114, allocations: 2.462 MB / 1.356 GB, free: 3.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.4148, allocations: 1.624 MB / 1.357 GB, free: 2.031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.4178, allocations: 1.893 MB / 1.359 GB, free: 136 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006154/0.4184, allocations: 336 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.4201, allocations: 0.7528 MB / 1.36 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.4215, allocations: 1.356 MB / 1.361 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.4231, allocations: 1.183 MB / 1.363 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006342/0.4294, allocations: 5.167 MB / 1.368 GB, free: 7.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4294, allocations: 0 / 1.368 GB, free: 7.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4294, allocations: 0 / 1.368 GB, free: 7.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001215/0.4296, allocations: 0 / 1.368 GB, free: 7.32 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006043/0.4356, allocations: 2.642 MB / 1.37 GB, free: 4.633 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4357, allocations: 12.03 kB / 1.37 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.4399, allocations: 0.8498 MB / 1.371 GB, free: 3.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.4444, allocations: 1.527 MB / 1.373 GB, free: 2.207 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.4446, allocations: 189.1 kB / 1.373 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007761/0.4454, allocations: 228.4 kB / 1.373 GB, free: 1.797 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008819/0.4542, allocations: 4.27 MB / 1.377 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.4543, allocations: 3.938 kB / 1.377 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.4546, allocations: 99.98 kB / 1.377 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.4548, allocations: 168.5 kB / 1.377 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006769/0.4616, allocations: 3.628 MB / 1.381 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.4796, allocations: 10.46 MB / 1.391 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.4828, allocations: 1.469 MB / 1.393 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009254/0.4837, allocations: 0.5475 MB / 1.393 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4838, allocations: 24.64 kB / 1.393 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4839, allocations: 43.16 kB / 1.393 GB, free: 12.54 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 5.27e-06/0.4839, allocations: 3.984 kB / 1.393 GB, free: 12.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.006041/0.4899, allocations: 3.197 MB / 1.396 GB, free: 9.32 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.49, allocations: 115.5 kB / 1.396 GB, free: 9.184 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4915, allocations: 1.036 MB / 1.397 GB, free: 8.121 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.4916, allocations: 37.7 kB / 1.397 GB, free: 8.078 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009054/0.4925, allocations: 1.142 MB / 1.399 GB, free: 6.922 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.4928, allocations: 297.6 kB / 1.399 GB, free: 6.629 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.4932, allocations: 275.4 kB / 1.399 GB, free: 6.352 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002526/0.4935, allocations: 410.8 kB / 1.399 GB, free: 5.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4945, allocations: 0.6207 MB / 1.4 GB, free: 5.32 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.496, allocations: 1.189 MB / 1.401 GB, free: 3.871 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.4986, allocations: 1.861 MB / 1.403 GB, free: 1.742 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.4986, allocations: 11.94 kB / 1.403 GB, free: 1.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003482/0.5021, allocations: 2.015 MB / 1.405 GB, free: 15.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.5022, allocations: 16.84 kB / 1.405 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.5022, allocations: 20 kB / 1.405 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.5027, allocations: 167.3 kB / 1.405 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5039, allocations: 343.4 kB / 1.406 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-05/0.5039, allocations: 39.86 kB / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.505, allocations: 135.7 kB / 1.406 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5051, allocations: 68 kB / 1.406 GB, free: 14.91 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001678/0.5068, allocations: 0.9732 MB / 1.407 GB, free: 13.93 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.5071, allocations: 115.3 kB / 1.407 GB, free: 13.81 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.5093, allocations: 1.236 MB / 1.408 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5093, allocations: 8 kB / 1.408 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5093, allocations: 7.938 kB / 1.408 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.5093, allocations: 3.984 kB / 1.408 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.5148, allocations: 2.869 MB / 1.411 GB, free: 9.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5148, allocations: 0 / 1.411 GB, free: 9.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.5155, allocations: 159.8 kB / 1.411 GB, free: 9.434 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.5159, allocations: 135.6 kB / 1.411 GB, free: 9.289 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.5159, allocations: 24 kB / 1.411 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5159, allocations: 4 kB / 1.411 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5159, allocations: 7.938 kB / 1.411 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.5181, allocations: 1.466 MB / 1.413 GB, free: 7.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.5187, allocations: 199.3 kB / 1.413 GB, free: 7.535 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.5189, allocations: 15.98 kB / 1.413 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.5195, allocations: 71.84 kB / 1.413 GB, free: 7.449 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.5196, allocations: 60.48 kB / 1.413 GB, free: 7.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.5197, allocations: 32 kB / 1.413 GB, free: 7.359 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001016/0.5207, allocations: 0.6832 MB / 1.414 GB, free: 6.664 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5207, allocations: 0 / 1.414 GB, free: 6.664 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001464/0.5222, allocations: 391.9 kB / 1.414 GB, free: 6.281 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002288/0.5224, allocations: 127.1 kB / 1.414 GB, free: 6.148 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.5249, allocations: 1.364 MB / 1.415 GB, free: 4.773 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5249, allocations: 0 / 1.415 GB, free: 4.773 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.5258, allocations: 0.5349 MB / 1.416 GB, free: 4.23 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5273, allocations: 260.4 kB / 1.416 GB, free: 3.977 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.5339, allocations: 3.83 MB / 1.42 GB, free: 84 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.5356, allocations: 1.336 MB / 1.421 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00111/0.5367, allocations: 457.2 kB / 1.422 GB, free: 14.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5369, allocations: 83.38 kB / 1.422 GB, free: 14.18 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/0.5369, allocations: 0 / 1.422 GB, free: 14.18 MB / 1.123 GB Notification: Performance of Templates: time 0.02995/0.5668, allocations: 15.86 MB / 1.437 GB, free: 14.58 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: 9.261268752001342]