Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.00135/0.00135, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001489/0.001489, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9597/0.9597, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.48/2.48, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.966e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003773/0.003793, allocations: 3.847 MB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.006082, allocations: 1.427 MB / 0.8438 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.006283, allocations: 43.56 kB / 0.8438 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.006798, allocations: 174.6 kB / 0.844 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.007392, allocations: 353.7 kB / 0.8443 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.007887, allocations: 335.4 kB / 0.8446 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.008626, allocations: 0.9602 MB / 0.8456 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.008995, allocations: 342.3 kB / 0.8459 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.009477, allocations: 498.7 kB / 0.8464 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.00984, allocations: 323 kB / 0.8467 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.009884, allocations: 40 kB / 0.8467 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.01006, allocations: 107.8 kB / 0.8468 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.01019, allocations: 191.3 kB / 0.847 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.01033, allocations: 207.5 kB / 0.8472 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.01076, allocations: 0.5098 MB / 0.8477 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01077, allocations: 4 kB / 0.8477 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01077, allocations: 0 / 0.8477 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.01077, allocations: 3.938 kB / 0.8477 GB, free: 4.812 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007438/0.01152, allocations: 0.81 MB / 0.8485 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.01155, allocations: 12.62 kB / 0.8485 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.01212, allocations: 204.5 kB / 0.8487 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.01263, allocations: 491 kB / 0.8492 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.01266, allocations: 33.38 kB / 0.8492 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.01272, allocations: 52.31 kB / 0.8492 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.0133, allocations: 0.7233 MB / 0.85 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.01333, allocations: 4.125 kB / 0.85 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.01337, allocations: 24.36 kB / 0.85 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-05/0.01347, allocations: 76.89 kB / 0.8501 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.01372, allocations: 230.3 kB / 0.8503 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.01582, allocations: 4.166 MB / 0.8543 GB, free: 13.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.01609, allocations: 285.7 kB / 0.8546 GB, free: 13.33 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.01617, allocations: 68.75 kB / 0.8547 GB, free: 13.26 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.01619, allocations: 8 kB / 0.8547 GB, free: 13.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01622, allocations: 38.5 kB / 0.8547 GB, free: 13.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.01622, allocations: 0 / 0.8547 GB, free: 13.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.0009356/0.01716, allocations: 0.4923 MB / 0.8552 GB, free: 12.69 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.01718, allocations: 59.62 kB / 0.8553 GB, free: 12.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.01744, allocations: 447 kB / 0.8557 GB, free: 12.17 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01746, allocations: 29.7 kB / 0.8557 GB, free: 12.13 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.0176, allocations: 333.1 kB / 0.856 GB, free: 11.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.01766, allocations: 130.9 kB / 0.8562 GB, free: 11.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.01776, allocations: 106.2 kB / 0.8563 GB, free: 11.56 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01786, allocations: 370.6 kB / 0.8566 GB, free: 11.19 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.01793, allocations: 57.28 kB / 0.8567 GB, free: 11.14 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.01811, allocations: 323.1 kB / 0.857 GB, free: 10.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.01843, allocations: 443 kB / 0.8574 GB, free: 10.15 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01843, allocations: 4 kB / 0.8574 GB, free: 10.15 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004883/0.01892, allocations: 491.8 kB / 0.8579 GB, free: 9.641 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01894, allocations: 10.19 kB / 0.8579 GB, free: 9.633 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.01895, allocations: 8 kB / 0.8579 GB, free: 9.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.01921, allocations: 118.4 kB / 0.858 GB, free: 9.488 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.01946, allocations: 127.8 kB / 0.8581 GB, free: 9.363 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.02125, allocations: 3.596 MB / 0.8616 GB, free: 5.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.02141, allocations: 16 kB / 0.8617 GB, free: 5.465 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.02144, allocations: 24 kB / 0.8617 GB, free: 5.441 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.02157, allocations: 164.5 kB / 0.8618 GB, free: 5.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.02162, allocations: 47.94 kB / 0.8619 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.02198, allocations: 317.3 kB / 0.8622 GB, free: 4.883 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02199, allocations: 4 kB / 0.8622 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02199, allocations: 0 / 0.8622 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02199, allocations: 3.984 kB / 0.8622 GB, free: 4.875 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.02267, allocations: 0.6849 MB / 0.8629 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.02268, allocations: 3.984 kB / 0.8629 GB, free: 4.117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.0228, allocations: 43.92 kB / 0.8629 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.02301, allocations: 122.5 kB / 0.863 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.02302, allocations: 11.94 kB / 0.863 GB, free: 3.922 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.02459, allocations: 3.588 MB / 0.8665 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02459, allocations: 0 / 0.8665 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.02498, allocations: 482.2 kB / 0.867 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.02507, allocations: 63.61 kB / 0.8671 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.0251, allocations: 15.98 kB / 0.8671 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.02521, allocations: 4 kB / 0.8671 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.02526, allocations: 35.88 kB / 0.8671 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.02527, allocations: 8 kB / 0.8671 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001219/0.02539, allocations: 192.4 kB / 0.8673 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.02539, allocations: 0 / 0.8673 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003735/0.02577, allocations: 140 kB / 0.8674 GB, free: 15.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001041/0.02587, allocations: 96.34 kB / 0.8675 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005711/0.02644, allocations: 0.6189 MB / 0.8681 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.02645, allocations: 4.5 kB / 0.8681 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.02675, allocations: 475.4 kB / 0.8686 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.02726, allocations: 205.6 kB / 0.8688 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02839, allocations: 0.9763 MB / 0.8697 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.042e-05/0.02848, allocations: 154 kB / 0.8699 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.02862, allocations: 69.14 kB / 0.8699 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.02886, allocations: 181.2 kB / 0.8701 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/0.02887, allocations: 0 / 0.8701 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.01076/0.03962, allocations: 8.381 MB / 0.8783 GB, free: 3.941 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.445939561817795]