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.001494/0.001494, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001628/0.001628, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.277/3.277, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.002081/0.002081, allocations: 74.94 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02251/0.3576, allocations: 16.28 MB / 1.337 GB, free: 2.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009641/0.3673, allocations: 4.906 MB / 1.342 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.3688, allocations: 83.38 kB / 1.342 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.3719, allocations: 1.061 MB / 1.343 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.3741, allocations: 0.7932 MB / 1.344 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.3767, allocations: 0.9195 MB / 1.345 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004844/0.3815, allocations: 3.618 MB / 1.348 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005112/0.3866, allocations: 3.551 MB / 1.352 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.3894, allocations: 1.617 MB / 1.353 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.3926, allocations: 1.885 MB / 1.355 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007365/0.3934, allocations: 340 kB / 1.355 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.3953, allocations: 0.8152 MB / 1.356 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.3969, allocations: 1.356 MB / 1.358 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.3989, allocations: 1.455 MB / 1.359 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006369/0.4053, allocations: 5.148 MB / 1.364 GB, free: 6.809 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4053, allocations: 0 / 1.364 GB, free: 6.809 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4053, allocations: 4 kB / 1.364 GB, free: 6.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001274/0.4054, allocations: 0 / 1.364 GB, free: 6.805 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.006263/0.4117, allocations: 2.713 MB / 1.367 GB, free: 4.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4117, allocations: 12.03 kB / 1.367 GB, free: 4.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.416, allocations: 0.8498 MB / 1.368 GB, free: 3.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.4191, allocations: 1.568 MB / 1.369 GB, free: 1.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.4193, allocations: 189.1 kB / 1.369 GB, free: 1.363 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/0.4198, allocations: 228.4 kB / 1.369 GB, free: 1.141 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.4276, allocations: 4.166 MB / 1.374 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.4276, allocations: 7.922 kB / 1.374 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.4279, allocations: 99.98 kB / 1.374 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.4281, allocations: 164.5 kB / 1.374 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006701/0.4348, allocations: 3.632 MB / 1.377 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.4563, allocations: 16.44 MB / 1.393 GB, free: 7.047 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.46, allocations: 2.225 MB / 1.396 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.4609, allocations: 0.5584 MB / 1.396 GB, free: 4.047 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.4611, allocations: 93.66 kB / 1.396 GB, free: 3.938 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4611, allocations: 39.12 kB / 1.396 GB, free: 3.891 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/0.4611, allocations: 4 kB / 1.396 GB, free: 3.887 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.006131/0.4672, allocations: 3.499 MB / 1.4 GB, free: 296 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.4673, allocations: 111.5 kB / 1.4 GB, free: 156 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.4688, allocations: 1.022 MB / 1.401 GB, free: 15.1 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.4689, allocations: 41.64 kB / 1.401 GB, free: 15.05 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008787/0.4697, allocations: 1.142 MB / 1.402 GB, free: 13.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.47, allocations: 293.7 kB / 1.402 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.4705, allocations: 283.4 kB / 1.402 GB, free: 13.33 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.4707, allocations: 410.7 kB / 1.403 GB, free: 12.92 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.4718, allocations: 0.6167 MB / 1.403 GB, free: 12.3 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.4733, allocations: 1.182 MB / 1.405 GB, free: 10.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.4759, allocations: 1.872 MB / 1.406 GB, free: 8.719 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4759, allocations: 4 kB / 1.406 GB, free: 8.715 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003533/0.4794, allocations: 2.019 MB / 1.408 GB, free: 6.676 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.4795, allocations: 15.94 kB / 1.408 GB, free: 6.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.4795, allocations: 20 kB / 1.408 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.48, allocations: 163.7 kB / 1.409 GB, free: 6.469 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4812, allocations: 347.4 kB / 1.409 GB, free: 6.129 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.061e-05/0.4812, allocations: 39.86 kB / 1.409 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4823, allocations: 131.7 kB / 1.409 GB, free: 5.961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4824, allocations: 67.98 kB / 1.409 GB, free: 5.895 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.001547/0.4839, allocations: 0.9733 MB / 1.41 GB, free: 4.91 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.4842, allocations: 115.2 kB / 1.41 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.4866, allocations: 1.23 MB / 1.411 GB, free: 3.547 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4866, allocations: 11.94 kB / 1.411 GB, free: 3.535 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4867, allocations: 4 kB / 1.411 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4867, allocations: 3.984 kB / 1.411 GB, free: 3.527 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.4928, allocations: 3.794 MB / 1.415 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4929, allocations: 4 kB / 1.415 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.4935, allocations: 155.8 kB / 1.415 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.4939, allocations: 139.3 kB / 1.415 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4939, allocations: 20.25 kB / 1.415 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.494, allocations: 15.88 kB / 1.415 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.494, allocations: 0 / 1.415 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.4963, allocations: 1.47 MB / 1.417 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.4968, allocations: 280.3 kB / 1.417 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.4969, allocations: 16 kB / 1.417 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.4975, allocations: 63.91 kB / 1.417 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.4977, allocations: 60.42 kB / 1.417 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.4977, allocations: 20 kB / 1.417 GB, free: 13.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001059/0.4988, allocations: 0.6992 MB / 1.418 GB, free: 12.55 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4988, allocations: 0 / 1.418 GB, free: 12.55 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001578/0.5004, allocations: 392 kB / 1.418 GB, free: 12.17 MB / 1.123 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.0002344/0.5006, allocations: 139.9 kB / 1.419 GB, free: 12.03 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.5033, allocations: 1.655 MB / 1.42 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5033, allocations: 0 / 1.42 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5044, allocations: 0.8366 MB / 1.421 GB, free: 9.371 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5059, allocations: 272.2 kB / 1.421 GB, free: 9.105 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.5125, allocations: 3.834 MB / 1.425 GB, free: 5.199 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.5146, allocations: 1.916 MB / 1.427 GB, free: 3.25 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001246/0.5158, allocations: 449.4 kB / 1.427 GB, free: 2.809 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.5161, allocations: 87.42 kB / 1.427 GB, free: 2.723 MB / 1.123 GB Notification: Performance of SimCode: time 1.443e-06/0.5161, allocations: 0 / 1.427 GB, free: 2.723 MB / 1.123 GB Notification: Performance of Templates: time 0.02889/0.545, allocations: 13.85 MB / 1.441 GB, free: 5.027 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 -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/jenkins/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.299591999966651]