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.002135/0.002135, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001722/0.001722, allocations: 212.4 kB / 22.24 MB, free: 5.238 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.797 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.885/2.885, allocations: 476 MB / 0.7699 GB, free: 4.797 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.002176/0.002176, allocations: 70.06 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2911, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02153/0.3127, allocations: 15.48 MB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008996/0.3217, allocations: 4.79 MB / 1.303 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.3229, allocations: 91.31 kB / 1.303 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.3259, allocations: 1.05 MB / 1.304 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.328, allocations: 0.7738 MB / 1.305 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.3304, allocations: 0.9235 MB / 1.306 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3348, allocations: 3.622 MB / 1.309 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.3383, allocations: 2.426 MB / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.3406, allocations: 1.632 MB / 1.313 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.3433, allocations: 1.787 MB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005313/0.3438, allocations: 336 kB / 1.315 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.3452, allocations: 0.7529 MB / 1.316 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.3466, allocations: 1.356 MB / 1.317 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.3481, allocations: 1.179 MB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005629/0.3538, allocations: 5.163 MB / 1.323 GB, free: 2.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3538, allocations: 7.875 kB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3538, allocations: 3.938 kB / 1.323 GB, free: 2.383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.449e-05/0.3539, allocations: 0 / 1.323 GB, free: 2.383 MB / 1.014 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.005241/0.3591, allocations: 2.634 MB / 1.326 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3591, allocations: 12.03 kB / 1.326 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.3632, allocations: 0.842 MB / 1.327 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.3669, allocations: 1.535 MB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3671, allocations: 181.1 kB / 1.328 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.3675, allocations: 228.4 kB / 1.329 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007775/0.3753, allocations: 4.266 MB / 1.333 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.3753, allocations: 3.938 kB / 1.333 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.3756, allocations: 99.98 kB / 1.333 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.3758, allocations: 176.5 kB / 1.333 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006289/0.3821, allocations: 3.63 MB / 1.337 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.3986, allocations: 10.46 MB / 1.347 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.4018, allocations: 1.477 MB / 1.348 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009404/0.4028, allocations: 0.5392 MB / 1.349 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.4029, allocations: 24.64 kB / 1.349 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4029, allocations: 43.22 kB / 1.349 GB, free: 7.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.875e-06/0.4029, allocations: 0 / 1.349 GB, free: 7.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.005915/0.4088, allocations: 3.209 MB / 1.352 GB, free: 4.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4089, allocations: 115.5 kB / 1.352 GB, free: 4.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.4104, allocations: 1.036 MB / 1.353 GB, free: 3.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.4104, allocations: 41.7 kB / 1.353 GB, free: 3.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008661/0.4113, allocations: 1.138 MB / 1.354 GB, free: 1.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4116, allocations: 289.6 kB / 1.355 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.412, allocations: 287.4 kB / 1.355 GB, free: 1.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.4122, allocations: 410.7 kB / 1.355 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4133, allocations: 0.6207 MB / 1.356 GB, free: 392 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.4148, allocations: 1.182 MB / 1.357 GB, free: 14.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.4174, allocations: 1.868 MB / 1.359 GB, free: 12.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.4174, allocations: 8 kB / 1.359 GB, free: 12.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003576/0.421, allocations: 2.016 MB / 1.361 GB, free: 10.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.421, allocations: 12 kB / 1.361 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.4211, allocations: 23.94 kB / 1.361 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.4215, allocations: 167.3 kB / 1.361 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.4228, allocations: 343.4 kB / 1.361 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.4228, allocations: 39.86 kB / 1.361 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4238, allocations: 127.8 kB / 1.362 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.424, allocations: 71.98 kB / 1.362 GB, free: 9.98 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.001539/0.4255, allocations: 0.9733 MB / 1.363 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4257, allocations: 111.3 kB / 1.363 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.428, allocations: 1.236 MB / 1.364 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.428, allocations: 8 kB / 1.364 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4281, allocations: 7.938 kB / 1.364 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4281, allocations: 3.984 kB / 1.364 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.4334, allocations: 2.877 MB / 1.367 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.4334, allocations: 4 kB / 1.367 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.434, allocations: 155.8 kB / 1.367 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.4345, allocations: 143.5 kB / 1.367 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.4345, allocations: 20 kB / 1.367 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.4345, allocations: 4 kB / 1.367 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4345, allocations: 4 kB / 1.367 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.4369, allocations: 1.474 MB / 1.368 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.4375, allocations: 199.2 kB / 1.369 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.4376, allocations: 15.94 kB / 1.369 GB, free: 2.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.4383, allocations: 67.91 kB / 1.369 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.4384, allocations: 68.42 kB / 1.369 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.4385, allocations: 24 kB / 1.369 GB, free: 2.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001079/0.4396, allocations: 0.6832 MB / 1.369 GB, free: 1.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4396, allocations: 3.938 kB / 1.369 GB, free: 1.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001568/0.4411, allocations: 392 kB / 1.37 GB, free: 1.34 MB / 1.061 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.0002408/0.4414, allocations: 119.7 kB / 1.37 GB, free: 1.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.444, allocations: 1.356 MB / 1.371 GB, free: 15.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.444, allocations: 0 / 1.371 GB, free: 15.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.4449, allocations: 0.5429 MB / 1.372 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.4463, allocations: 261.5 kB / 1.372 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.4531, allocations: 3.843 MB / 1.376 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.455, allocations: 1.333 MB / 1.377 GB, free: 9.762 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001179/0.4562, allocations: 453.2 kB / 1.378 GB, free: 9.316 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.4564, allocations: 79.42 kB / 1.378 GB, free: 9.238 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/0.4564, allocations: 0 / 1.378 GB, free: 9.238 MB / 1.076 GB Notification: Performance of Templates: time 0.03073/0.4871, allocations: 15.26 MB / 1.393 GB, free: 10.26 MB / 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.226209895685315]