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.001731/0.001731, 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.002044/0.002044, allocations: 210.6 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.228/3.228, allocations: 0.4892 GB / 0.7951 GB, free: 35.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.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.002103/0.002103, allocations: 68.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4044, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0207/0.4251, allocations: 15.49 MB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009496/0.4345, allocations: 4.778 MB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.4361, allocations: 87.38 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.4392, allocations: 1.05 MB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.4414, allocations: 0.7738 MB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.4439, allocations: 0.9312 MB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.4483, allocations: 3.618 MB / 1.352 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.4519, allocations: 2.442 MB / 1.355 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.4547, allocations: 1.617 MB / 1.356 GB, free: 2.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.4578, allocations: 1.799 MB / 1.358 GB, free: 1.133 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.4584, allocations: 340 kB / 1.358 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.46, allocations: 0.7412 MB / 1.359 GB, free: 60 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.4616, allocations: 1.364 MB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.4633, allocations: 1.179 MB / 1.362 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005839/0.4691, allocations: 5.163 MB / 1.367 GB, free: 8.328 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.4691, allocations: 7.984 kB / 1.367 GB, free: 8.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4691, allocations: 0 / 1.367 GB, free: 8.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001069/0.4692, allocations: 0 / 1.367 GB, free: 8.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.00571/0.475, allocations: 2.638 MB / 1.369 GB, free: 5.637 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.475, allocations: 15.97 kB / 1.369 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.4789, allocations: 0.8498 MB / 1.37 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.4827, allocations: 1.531 MB / 1.372 GB, free: 3.203 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.4828, allocations: 177.1 kB / 1.372 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005026/0.4833, allocations: 228.4 kB / 1.372 GB, free: 2.805 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007691/0.491, allocations: 4.274 MB / 1.376 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.4911, allocations: 3.938 kB / 1.376 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.4913, allocations: 99.98 kB / 1.376 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/0.4916, allocations: 168.5 kB / 1.376 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006356/0.4979, allocations: 3.621 MB / 1.38 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.515, allocations: 10.46 MB / 1.39 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.5182, allocations: 1.471 MB / 1.392 GB, free: 14.19 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.5191, allocations: 0.5514 MB / 1.392 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.5192, allocations: 20.66 kB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5192, allocations: 43.16 kB / 1.392 GB, free: 13.55 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 3.918e-06/0.5192, allocations: 0 / 1.392 GB, free: 13.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.006058/0.5253, allocations: 3.201 MB / 1.395 GB, free: 10.33 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.5254, allocations: 111.5 kB / 1.395 GB, free: 10.2 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.5269, allocations: 1.04 MB / 1.396 GB, free: 9.133 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.527, allocations: 41.77 kB / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008822/0.5279, allocations: 1.142 MB / 1.398 GB, free: 7.93 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.5282, allocations: 289.6 kB / 1.398 GB, free: 7.645 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.5286, allocations: 275.4 kB / 1.398 GB, free: 7.367 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002735/0.5289, allocations: 418.7 kB / 1.399 GB, free: 6.949 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5299, allocations: 0.6128 MB / 1.399 GB, free: 6.336 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.5315, allocations: 1.189 MB / 1.4 GB, free: 4.887 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.5341, allocations: 1.861 MB / 1.402 GB, free: 2.758 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.5341, allocations: 8 kB / 1.402 GB, free: 2.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003566/0.5377, allocations: 2.019 MB / 1.404 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.5377, allocations: 15.94 kB / 1.404 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/0.5377, allocations: 20 kB / 1.404 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.5382, allocations: 163.3 kB / 1.404 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5394, allocations: 347.4 kB / 1.405 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.951e-05/0.5395, allocations: 39.86 kB / 1.405 GB, free: 128 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5407, allocations: 131.9 kB / 1.405 GB, free: 15.99 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.5408, allocations: 71.94 kB / 1.405 GB, free: 15.93 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.002069/0.5429, allocations: 0.9771 MB / 1.406 GB, free: 14.94 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.5432, allocations: 111.3 kB / 1.406 GB, free: 14.83 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.5455, allocations: 1.229 MB / 1.407 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.5456, allocations: 8 kB / 1.407 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.5456, allocations: 7.938 kB / 1.407 GB, free: 13.56 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.5456, allocations: 7.984 kB / 1.407 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.5511, allocations: 2.873 MB / 1.41 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5511, allocations: 4 kB / 1.41 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.5517, allocations: 164 kB / 1.41 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.5521, allocations: 143.3 kB / 1.41 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.5521, allocations: 12 kB / 1.41 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.5522, allocations: 11.98 kB / 1.41 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5522, allocations: 0 / 1.41 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5543, allocations: 1.47 MB / 1.412 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.5548, allocations: 203.2 kB / 1.412 GB, free: 8.539 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.555, allocations: 23.89 kB / 1.412 GB, free: 8.516 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.5555, allocations: 63.91 kB / 1.412 GB, free: 8.453 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5557, allocations: 64.42 kB / 1.412 GB, free: 8.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.5557, allocations: 27.98 kB / 1.412 GB, free: 8.363 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009742/0.5567, allocations: 0.6871 MB / 1.413 GB, free: 7.664 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5567, allocations: 0 / 1.413 GB, free: 7.664 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00151/0.5582, allocations: 384 kB / 1.413 GB, free: 7.289 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.0002392/0.5584, allocations: 131.7 kB / 1.413 GB, free: 7.152 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.5608, allocations: 1.364 MB / 1.415 GB, free: 5.777 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5608, allocations: 128 / 1.415 GB, free: 5.777 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.5616, allocations: 0.5339 MB / 1.415 GB, free: 5.234 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.563, allocations: 264 kB / 1.415 GB, free: 4.98 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.5703, allocations: 4.188 MB / 1.419 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.5721, allocations: 1.387 MB / 1.421 GB, free: 15.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.5725, allocations: 95.42 kB / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of SimCode: time 8.02e-07/0.5725, allocations: 0 / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of Templates: time 0.09012/0.6626, allocations: 74.29 MB / 1.493 GB, free: 4.891 MB / 1.186 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 -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: 15.805786558892578]