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.001365/0.001365, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001482/0.001482, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.822/2.822, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] 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.002098/0.002098, allocations: 67.88 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4207, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02254/0.4433, allocations: 15.47 MB / 1.133 GB, free: 3.082 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.9341/1.377, allocations: 4.777 MB / 1.137 GB, free: 47.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/1.379, allocations: 88.16 kB / 1.137 GB, free: 47.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/1.381, allocations: 1.056 MB / 1.138 GB, free: 47.42 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/1.383, allocations: 0.7788 MB / 1.139 GB, free: 47.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/1.385, allocations: 0.9221 MB / 1.14 GB, free: 47.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003503/1.389, allocations: 3.62 MB / 1.144 GB, free: 46.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/1.392, allocations: 2.435 MB / 1.146 GB, free: 46.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/1.394, allocations: 1.63 MB / 1.147 GB, free: 45.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/1.396, allocations: 1.785 MB / 1.149 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004192/1.397, allocations: 336.8 kB / 1.15 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.398, allocations: 0.7474 MB / 1.15 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.399, allocations: 1.364 MB / 1.152 GB, free: 44.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/1.4, allocations: 1.176 MB / 1.153 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00433/1.405, allocations: 5.169 MB / 1.158 GB, free: 42.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.405, allocations: 0 / 1.158 GB, free: 42.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/1.405, allocations: 3.094 kB / 1.158 GB, free: 42.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.739e-05/1.405, allocations: 3 kB / 1.158 GB, free: 42.21 MB / 1.076 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.005058/1.41, allocations: 2.639 MB / 1.16 GB, free: 40.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.41, allocations: 8 kB / 1.16 GB, free: 40.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/1.414, allocations: 0.8536 MB / 1.161 GB, free: 40.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/1.416, allocations: 1.529 MB / 1.163 GB, free: 39.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.416, allocations: 178.2 kB / 1.163 GB, free: 39.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/1.417, allocations: 238.7 kB / 1.163 GB, free: 39.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006615/1.423, allocations: 4.262 MB / 1.167 GB, free: 37.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-05/1.423, allocations: 10.47 kB / 1.167 GB, free: 37.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/1.424, allocations: 97.41 kB / 1.167 GB, free: 37.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/1.424, allocations: 167 kB / 1.168 GB, free: 37.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007333/1.431, allocations: 3.624 MB / 1.171 GB, free: 36.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/1.448, allocations: 10.47 MB / 1.181 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/1.451, allocations: 1.468 MB / 1.183 GB, free: 29.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.452, allocations: 0.5445 MB / 1.183 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/1.452, allocations: 20.31 kB / 1.183 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.452, allocations: 48.95 kB / 1.183 GB, free: 29.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=72): time 4.468e-06/1.453, allocations: 0 / 1.183 GB, free: 29.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.006412/1.459, allocations: 3.201 MB / 1.186 GB, free: 27.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/1.459, allocations: 112.3 kB / 1.187 GB, free: 27.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.461, allocations: 1.038 MB / 1.188 GB, free: 27.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/1.461, allocations: 40.23 kB / 1.188 GB, free: 27.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/1.462, allocations: 1.144 MB / 1.189 GB, free: 26.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.462, allocations: 288.2 kB / 1.189 GB, free: 26.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.462, allocations: 283.1 kB / 1.189 GB, free: 26.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.462, allocations: 409.2 kB / 1.19 GB, free: 25.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.464, allocations: 0.6202 MB / 1.19 GB, free: 25.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/1.465, allocations: 1.187 MB / 1.191 GB, free: 24.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/1.468, allocations: 1.867 MB / 1.193 GB, free: 23.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/1.468, allocations: 6.375 kB / 1.193 GB, free: 23.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003857/1.471, allocations: 2.014 MB / 1.195 GB, free: 22.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/1.471, allocations: 16.05 kB / 1.195 GB, free: 22.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.472, allocations: 30.81 kB / 1.195 GB, free: 22.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/1.472, allocations: 163.9 kB / 1.195 GB, free: 22.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.473, allocations: 346.3 kB / 1.196 GB, free: 22.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/1.473, allocations: 38.83 kB / 1.196 GB, free: 22.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.474, allocations: 123.5 kB / 1.196 GB, free: 22.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.475, allocations: 71.02 kB / 1.196 GB, free: 22.39 MB / 1.076 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.002067/1.477, allocations: 0.9763 MB / 1.197 GB, free: 21.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/1.477, allocations: 113.6 kB / 1.197 GB, free: 21.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.479, allocations: 1.227 MB / 1.198 GB, free: 21.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.479, allocations: 11.47 kB / 1.198 GB, free: 21.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.479, allocations: 7.016 kB / 1.198 GB, free: 21.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/1.479, allocations: 4.75 kB / 1.198 GB, free: 21.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/1.485, allocations: 2.879 MB / 1.201 GB, free: 20.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.485, allocations: 3.625 kB / 1.201 GB, free: 20.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/1.486, allocations: 156 kB / 1.201 GB, free: 20.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/1.486, allocations: 142.1 kB / 1.201 GB, free: 20.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/1.486, allocations: 16.36 kB / 1.201 GB, free: 20.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/1.486, allocations: 10.69 kB / 1.201 GB, free: 20.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.486, allocations: 6.312 kB / 1.201 GB, free: 20.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/1.488, allocations: 1.47 MB / 1.203 GB, free: 19.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/1.489, allocations: 199.5 kB / 1.203 GB, free: 19.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.489, allocations: 18.73 kB / 1.203 GB, free: 19.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/1.49, allocations: 67.17 kB / 1.203 GB, free: 19.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.49, allocations: 69.88 kB / 1.203 GB, free: 19.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/1.49, allocations: 24.84 kB / 1.203 GB, free: 19.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001064/1.491, allocations: 0.6864 MB / 1.204 GB, free: 18.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.491, allocations: 0 / 1.204 GB, free: 18.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001987/1.493, allocations: 388 kB / 1.204 GB, free: 18.79 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.0002193/1.493, allocations: 125.4 kB / 1.204 GB, free: 18.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002569/1.496, allocations: 1.366 MB / 1.206 GB, free: 18.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.496, allocations: 3.031 kB / 1.206 GB, free: 18.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009216/1.496, allocations: 0.5308 MB / 1.206 GB, free: 18.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.498, allocations: 267.6 kB / 1.206 GB, free: 17.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/1.505, allocations: 3.829 MB / 1.21 GB, free: 16.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.507, allocations: 1.337 MB / 1.212 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001269/1.508, allocations: 452.2 kB / 1.212 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.509, allocations: 82.75 kB / 1.212 GB, free: 15.71 MB / 1.076 GB Notification: Performance of SimCode: time 1.213e-06/1.509, allocations: 1.219 kB / 1.212 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Templates: time 0.03186/1.54, allocations: 12.9 MB / 1.225 GB, free: 14.23 MB / 1.076 GB " [Timeout remaining time 298] 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 -s ida -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/jenkins1/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: 10.463975315913558]