Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001368/0.001368, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001044/0.001044, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.915/1.915, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.753e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005624/0.005652, allocations: 3.794 MB / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.008717, allocations: 1.412 MB / 0.8178 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.009123, allocations: 39.56 kB / 0.8179 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.009796, allocations: 163.2 kB / 0.818 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008048/0.0106, allocations: 357.6 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.01134, allocations: 343.8 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.01247, allocations: 0.9525 MB / 0.8196 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.01299, allocations: 322.4 kB / 0.8199 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.01406, allocations: 0.4913 MB / 0.8204 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.01465, allocations: 329.1 kB / 0.8207 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.01472, allocations: 36 kB / 0.8208 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.01498, allocations: 103.9 kB / 0.8209 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.01517, allocations: 197.9 kB / 0.8211 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01541, allocations: 211.4 kB / 0.8213 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.01613, allocations: 0.5097 MB / 0.8218 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01614, allocations: 0 / 0.8218 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01614, allocations: 4 kB / 0.8218 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.01615, allocations: 0 / 0.8218 GB, free: 8.25 MB / 0.7761 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.001448/0.0176, allocations: 0.9576 MB / 0.8227 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.01767, allocations: 8.031 kB / 0.8227 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.01882, allocations: 217 kB / 0.8229 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.01973, allocations: 0.4988 MB / 0.8234 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.01976, allocations: 31.25 kB / 0.8234 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.01984, allocations: 48.36 kB / 0.8235 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.02071, allocations: 0.8221 MB / 0.8243 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.02074, allocations: 12.08 kB / 0.8243 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.02079, allocations: 24.36 kB / 0.8243 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.02091, allocations: 74.17 kB / 0.8244 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.02131, allocations: 259.5 kB / 0.8246 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/0.02543, allocations: 6.164 MB / 0.8307 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.02581, allocations: 259.1 kB / 0.8309 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.02594, allocations: 71.64 kB / 0.831 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.02597, allocations: 8.594 kB / 0.831 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.026, allocations: 33.39 kB / 0.831 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 3.326e-06/0.026, allocations: 0.5625 kB / 0.831 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001477/0.02748, allocations: 0.5645 MB / 0.8316 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.02751, allocations: 55.69 kB / 0.8316 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.02793, allocations: 0.4943 MB / 0.8321 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.02796, allocations: 33.7 kB / 0.8321 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.02822, allocations: 430.9 kB / 0.8325 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.02832, allocations: 127 kB / 0.8327 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.02847, allocations: 119.8 kB / 0.8328 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.02866, allocations: 0.5429 MB / 0.8333 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.02879, allocations: 69.25 kB / 0.8334 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.02912, allocations: 426.8 kB / 0.8338 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.02995, allocations: 0.5593 MB / 0.8343 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.02995, allocations: 4 kB / 0.8343 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008836/0.03083, allocations: 0.5582 MB / 0.8349 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.03086, allocations: 11.94 kB / 0.8349 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.03087, allocations: 8 kB / 0.8349 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.03127, allocations: 130.4 kB / 0.835 GB, free: 9.723 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.03163, allocations: 111.8 kB / 0.8351 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.03465, allocations: 5.172 MB / 0.8402 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.03499, allocations: 24 kB / 0.8402 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.03503, allocations: 20 kB / 0.8402 GB, free: 4.055 MB / 0.7917 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.0002205/0.03525, allocations: 200.5 kB / 0.8404 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.03535, allocations: 71.62 kB / 0.8405 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.03627, allocations: 349 kB / 0.8408 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.03627, allocations: 4 kB / 0.8408 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.03628, allocations: 4 kB / 0.8408 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.03628, allocations: 3.984 kB / 0.8408 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.03745, allocations: 0.7834 MB / 0.8416 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.03745, allocations: 4 kB / 0.8416 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.03764, allocations: 43.92 kB / 0.8416 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.03795, allocations: 114.5 kB / 0.8417 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.03798, allocations: 12 kB / 0.8417 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.04083, allocations: 5.175 MB / 0.8468 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.04083, allocations: 7.938 kB / 0.8468 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.04153, allocations: 0.5314 MB / 0.8473 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.04169, allocations: 83.58 kB / 0.8474 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.04174, allocations: 8 kB / 0.8474 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.04195, allocations: 8 kB / 0.8474 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.04202, allocations: 39.81 kB / 0.8475 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.04204, allocations: 8 kB / 0.8475 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004976/0.04254, allocations: 302.7 kB / 0.8478 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.04254, allocations: 0 / 0.8478 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007535/0.04329, allocations: 144 kB / 0.8479 GB, free: 11.63 MB / 0.8073 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.000174/0.04347, allocations: 111.2 kB / 0.848 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000954/0.04442, allocations: 0.8142 MB / 0.8488 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.04442, allocations: 0 / 0.8488 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.04498, allocations: 0.6482 MB / 0.8494 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.04588, allocations: 189.2 kB / 0.8496 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.0475, allocations: 0.9903 MB / 0.8506 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.04764, allocations: 154 kB / 0.8507 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.04788, allocations: 73.11 kB / 0.8508 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.04815, allocations: 222.1 kB / 0.851 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of SimCode: time 1.322e-06/0.04815, allocations: 0 / 0.851 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of Templates: time 0.0109/0.05906, allocations: 8.538 MB / 0.8593 GB, free: 15.93 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.28772782208398]