Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001982/0.001982, allocations: 113 kB / 18.94 MB, free: 2.934 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.002778/0.002778, allocations: 209 kB / 22.25 MB, free: 5.086 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.035 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.821/2.821, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_11_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_11_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.002085/0.002085, allocations: 63.5 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02113/0.319, allocations: 16.8 MB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00868/0.3277, allocations: 5.011 MB / 1.305 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/0.3287, allocations: 83.38 kB / 1.305 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.3315, allocations: 1.099 MB / 1.306 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.3332, allocations: 0.7815 MB / 1.307 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.3354, allocations: 0.95 MB / 1.308 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.3394, allocations: 3.63 MB / 1.312 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.3426, allocations: 2.454 MB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.3448, allocations: 1.624 MB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.3472, allocations: 1.881 MB / 1.317 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.3476, allocations: 340 kB / 1.318 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3491, allocations: 0.8036 MB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.3504, allocations: 1.36 MB / 1.32 GB, free: 6.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3519, allocations: 1.463 MB / 1.321 GB, free: 4.766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.3571, allocations: 5.14 MB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3571, allocations: 0 / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3571, allocations: 0 / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.818e-05/0.3572, allocations: 3.984 kB / 1.326 GB, free: 15.61 MB / 1.029 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.004887/0.362, allocations: 2.642 MB / 1.329 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3621, allocations: 8.031 kB / 1.329 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.3659, allocations: 0.8459 MB / 1.33 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.3693, allocations: 1.535 MB / 1.331 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.3694, allocations: 181.1 kB / 1.331 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.3698, allocations: 228.4 kB / 1.332 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/0.3767, allocations: 4.154 MB / 1.336 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/0.3768, allocations: 11.92 kB / 1.336 GB, free: 5.793 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.377, allocations: 104 kB / 1.336 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/0.3772, allocations: 172.5 kB / 1.336 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005809/0.383, allocations: 3.628 MB / 1.339 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.4014, allocations: 15.63 MB / 1.355 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.4044, allocations: 1.477 MB / 1.356 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.4053, allocations: 0.5569 MB / 1.357 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4054, allocations: 20.64 kB / 1.357 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4055, allocations: 39.22 kB / 1.357 GB, free: 14.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.4055, allocations: 0 / 1.357 GB, free: 14.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.005344/0.4108, allocations: 3.205 MB / 1.36 GB, free: 11.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.4109, allocations: 111.5 kB / 1.36 GB, free: 11.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.4122, allocations: 1.026 MB / 1.361 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.4123, allocations: 37.64 kB / 1.361 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.4131, allocations: 1.142 MB / 1.362 GB, free: 9.227 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4133, allocations: 289.6 kB / 1.362 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005984/0.4139, allocations: 283.4 kB / 1.363 GB, free: 8.656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003199/0.4142, allocations: 410.7 kB / 1.363 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.4157, allocations: 0.6207 MB / 1.364 GB, free: 7.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.4179, allocations: 1.182 MB / 1.365 GB, free: 6.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.4217, allocations: 1.864 MB / 1.367 GB, free: 4.051 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4217, allocations: 4 kB / 1.367 GB, free: 4.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005237/0.4269, allocations: 2.015 MB / 1.369 GB, free: 2.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.4269, allocations: 20.19 kB / 1.369 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.427, allocations: 16 kB / 1.369 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.4276, allocations: 163.3 kB / 1.369 GB, free: 1.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.4295, allocations: 347.4 kB / 1.369 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.404e-05/0.4296, allocations: 39.86 kB / 1.369 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4314, allocations: 131.8 kB / 1.369 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4315, allocations: 67.98 kB / 1.369 GB, free: 1.23 MB / 1.061 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.002265/0.4338, allocations: 0.9732 MB / 1.37 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4342, allocations: 119.2 kB / 1.37 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/0.4376, allocations: 1.23 MB / 1.372 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4376, allocations: 11.94 kB / 1.372 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.4376, allocations: 4 kB / 1.372 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.4376, allocations: 12 kB / 1.372 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/0.447, allocations: 3.772 MB / 1.375 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.447, allocations: 4.25 kB / 1.375 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/0.448, allocations: 159.8 kB / 1.375 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/0.4486, allocations: 139.3 kB / 1.376 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.4486, allocations: 16 kB / 1.376 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/0.4487, allocations: 15.88 kB / 1.376 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4487, allocations: 3.938 kB / 1.376 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.4519, allocations: 1.474 MB / 1.377 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/0.4527, allocations: 203.2 kB / 1.377 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.4529, allocations: 15.98 kB / 1.377 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.4539, allocations: 67.91 kB / 1.377 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4541, allocations: 64.48 kB / 1.377 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.4542, allocations: 20 kB / 1.377 GB, free: 8.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00149/0.4557, allocations: 0.6953 MB / 1.378 GB, free: 7.996 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4557, allocations: 0 / 1.378 GB, free: 7.996 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002329/0.458, allocations: 392 kB / 1.378 GB, free: 7.613 MB / 1.076 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.0002748/0.4583, allocations: 135 kB / 1.379 GB, free: 7.473 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.4619, allocations: 1.356 MB / 1.38 GB, free: 6.109 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4619, allocations: 0 / 1.38 GB, free: 6.109 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.4633, allocations: 0.5378 MB / 1.38 GB, free: 5.559 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4656, allocations: 271.7 kB / 1.381 GB, free: 5.297 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/0.4749, allocations: 3.835 MB / 1.384 GB, free: 1.395 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/0.4778, allocations: 1.916 MB / 1.386 GB, free: 15.44 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001726/0.4795, allocations: 445.4 kB / 1.387 GB, free: 15.01 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.4799, allocations: 83.42 kB / 1.387 GB, free: 14.93 MB / 1.092 GB Notification: Performance of SimCode: time 9.02e-07/0.4799, allocations: 0 / 1.387 GB, free: 14.93 MB / 1.092 GB Notification: Performance of Templates: time 0.02853/0.5084, allocations: 14.7 MB / 1.401 GB, free: 384 kB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.29113996680826]