Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009341/0.0009341, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.000921/0.000921, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9781/0.9781, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.734/1.734, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.591e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003339/0.003354, allocations: 3.79 MB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005291, allocations: 1.408 MB / 0.7926 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.005531, allocations: 35.62 kB / 0.7927 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.00601, allocations: 163.5 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.006483, allocations: 361.6 kB / 0.7932 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.006909, allocations: 346.2 kB / 0.7935 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.007638, allocations: 0.9569 MB / 0.7944 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.007996, allocations: 319.8 kB / 0.7947 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.008493, allocations: 498.6 kB / 0.7952 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.008875, allocations: 329.7 kB / 0.7955 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.008921, allocations: 40 kB / 0.7956 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.009084, allocations: 111.7 kB / 0.7957 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.009202, allocations: 187.4 kB / 0.7958 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.009377, allocations: 207.4 kB / 0.796 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.009814, allocations: 0.5064 MB / 0.7965 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.009815, allocations: 0.7188 kB / 0.7965 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.009816, allocations: 0 / 0.7965 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.009822, allocations: 5.312 kB / 0.7965 GB, free: 2.977 MB / 0.7448 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.0007888/0.01061, allocations: 0.9569 MB / 0.7975 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.01064, allocations: 11.97 kB / 0.7975 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.01115, allocations: 208.9 kB / 0.7977 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.01174, allocations: 0.5112 MB / 0.7982 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.01176, allocations: 37.36 kB / 0.7982 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.01181, allocations: 44.36 kB / 0.7983 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.01233, allocations: 0.8225 MB / 0.7991 GB, free: 128 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.01235, allocations: 16.08 kB / 0.7991 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.01238, allocations: 21.16 kB / 0.7991 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.01244, allocations: 68.89 kB / 0.7992 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.01271, allocations: 261.4 kB / 0.7994 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.01552, allocations: 6.16 MB / 0.8054 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.01578, allocations: 259.7 kB / 0.8057 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.01586, allocations: 71.66 kB / 0.8057 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.01588, allocations: 7.984 kB / 0.8058 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01591, allocations: 45.33 kB / 0.8058 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.01591, allocations: 4 kB / 0.8058 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0009054/0.01681, allocations: 0.5547 MB / 0.8063 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.01684, allocations: 67.56 kB / 0.8064 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01711, allocations: 0.4981 MB / 0.8069 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01713, allocations: 29.7 kB / 0.8069 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.01731, allocations: 430.9 kB / 0.8073 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.01737, allocations: 119 kB / 0.8074 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01747, allocations: 119.8 kB / 0.8076 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01761, allocations: 0.5429 MB / 0.8081 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.01768, allocations: 69.25 kB / 0.8082 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.01806, allocations: 430.8 kB / 0.8086 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.01842, allocations: 0.5502 MB / 0.8091 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01842, allocations: 4 kB / 0.8091 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005563/0.01898, allocations: 0.5618 MB / 0.8097 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.019, allocations: 12 kB / 0.8097 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.01901, allocations: 8 kB / 0.8097 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.01927, allocations: 127 kB / 0.8098 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.01949, allocations: 119.8 kB / 0.8099 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.02166, allocations: 5.167 MB / 0.815 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.02182, allocations: 24.03 kB / 0.815 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.02184, allocations: 23.98 kB / 0.815 GB, free: 14.76 MB / 0.7761 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.0001255/0.02196, allocations: 200.3 kB / 0.8152 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.02202, allocations: 71.62 kB / 0.8153 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.02238, allocations: 341.1 kB / 0.8156 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02238, allocations: 4 kB / 0.8156 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.02239, allocations: 8 kB / 0.8156 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.02239, allocations: 3.984 kB / 0.8156 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.0231, allocations: 0.7832 MB / 0.8164 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.0231, allocations: 4 kB / 0.8164 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02321, allocations: 47.91 kB / 0.8164 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.02341, allocations: 114.5 kB / 0.8165 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.02342, allocations: 8 kB / 0.8165 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.02522, allocations: 5.176 MB / 0.8216 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.02523, allocations: 7.922 kB / 0.8216 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.02579, allocations: 0.5436 MB / 0.8221 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.02588, allocations: 79.58 kB / 0.8222 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.02591, allocations: 8 kB / 0.8222 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.02601, allocations: 8 kB / 0.8222 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.02606, allocations: 31.89 kB / 0.8222 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.02607, allocations: 8 kB / 0.8223 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001456/0.02621, allocations: 306.7 kB / 0.8225 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.02621, allocations: 0 / 0.8225 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003792/0.02659, allocations: 140 kB / 0.8227 GB, free: 6.34 MB / 0.7761 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.0001113/0.0267, allocations: 115.2 kB / 0.8228 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.02735, allocations: 0.8077 MB / 0.8236 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.02736, allocations: 4.688 kB / 0.8236 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.0277, allocations: 0.6378 MB / 0.8242 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.02823, allocations: 195.6 kB / 0.8244 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.0293, allocations: 0.9857 MB / 0.8254 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.0294, allocations: 154 kB / 0.8255 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.02957, allocations: 73.12 kB / 0.8256 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.02981, allocations: 218.1 kB / 0.8258 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.02981, allocations: 0 / 0.8258 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of Templates: time 0.01036/0.04016, allocations: 8.399 MB / 0.834 GB, free: 10.75 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.032667092047632]