Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.001394/0.001394, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001649/0.001649, allocations: 169 kB / 24.28 MB, free: 280 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.9805/0.9805, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.831/1.831, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0.875 kB / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.835e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004239/0.004277, allocations: 2.392 MB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.005396, allocations: 0.8409 MB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.00549, allocations: 0 / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.006008, allocations: 156.8 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.006203, allocations: 71.53 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.006407, allocations: 69.48 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.006648, allocations: 163.3 kB / 0.8151 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.006891, allocations: 73.19 kB / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.007065, allocations: 103.7 kB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.007208, allocations: 64.92 kB / 0.8153 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.00723, allocations: 15.94 kB / 0.8153 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.007321, allocations: 43.95 kB / 0.8154 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.007374, allocations: 45.36 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.007431, allocations: 43.91 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.007631, allocations: 131.5 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.007636, allocations: 4 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.813e-06/0.007638, allocations: 2.594 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.007643, allocations: 0 / 0.8156 GB, free: 13.91 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005728/0.008216, allocations: 0.5189 MB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.008258, allocations: 8.031 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.008514, allocations: 44.83 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.00871, allocations: 157.5 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.008767, allocations: 68.84 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.008794, allocations: 16.36 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.009008, allocations: 167.6 kB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.009016, allocations: 1.656 kB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.00903, allocations: 11.94 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.009051, allocations: 4 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.009145, allocations: 65.61 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.009731, allocations: 0.6888 MB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.009894, allocations: 81.53 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.009936, allocations: 41.45 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.009947, allocations: 5.141 kB / 0.8174 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.01011, allocations: 170.1 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01011, allocations: 1.375 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002413/0.01035, allocations: 194.9 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.0104, allocations: 136.5 kB / 0.8179 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01054, allocations: 239.7 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.01055, allocations: 30.2 kB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.01063, allocations: 187.5 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.01065, allocations: 27.81 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.0107, allocations: 43.33 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01082, allocations: 0.4971 MB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.01087, allocations: 75.39 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.01097, allocations: 175.5 kB / 0.8191 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.01112, allocations: 230.5 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01112, allocations: 0 / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002268/0.01135, allocations: 277.6 kB / 0.8196 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.01139, allocations: 66.05 kB / 0.8197 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01139, allocations: 0 / 0.8197 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.0114, allocations: 4 kB / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.01149, allocations: 36.42 kB / 0.8197 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.0115, allocations: 9.812 kB / 0.8197 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.01156, allocations: 23.88 kB / 0.8197 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.01157, allocations: 4 kB / 0.8197 GB, free: 9.168 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.01167, allocations: 199.6 kB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.01169, allocations: 19.84 kB / 0.8199 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.01171, allocations: 17.45 kB / 0.82 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01171, allocations: 0.9375 kB / 0.82 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01172, allocations: 7.875 kB / 0.82 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01172, allocations: 4 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.01182, allocations: 157.2 kB / 0.8201 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01182, allocations: 0 / 0.8201 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.01187, allocations: 15.67 kB / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01187, allocations: 0 / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01188, allocations: 4 kB / 0.8201 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01188, allocations: 0 / 0.8201 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.01188, allocations: 0 / 0.8201 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01212, allocations: 253.4 kB / 0.8204 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.01213, allocations: 11.95 kB / 0.8204 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01215, allocations: 3.984 kB / 0.8204 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.01219, allocations: 8 kB / 0.8204 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01224, allocations: 17.58 kB / 0.8204 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.01224, allocations: 4.094 kB / 0.8204 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.01232, allocations: 163.4 kB / 0.8206 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01232, allocations: 0 / 0.8206 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001666/0.01248, allocations: 39.89 kB / 0.8206 GB, free: 8.176 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.129e-05/0.01257, allocations: 104.2 kB / 0.8207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.01277, allocations: 273.7 kB / 0.821 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01277, allocations: 4 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.01285, allocations: 121.8 kB / 0.8211 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.01302, allocations: 23.92 kB / 0.8211 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.01361, allocations: 315.8 kB / 0.8214 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.01365, allocations: 67.33 kB / 0.8215 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.01369, allocations: 22.34 kB / 0.8215 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.01372, allocations: 13.09 kB / 0.8215 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01372, allocations: 0.5938 kB / 0.8215 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of Templates: time 0.003104/0.01683, allocations: 1.48 MB / 0.823 GB, free: 5.684 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.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: 4.953603578032926]