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: 80.3 kB / 21.47 MB, free: 3.027 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.001451/0.001451, allocations: 169.8 kB / 24.86 MB, free: 9.27 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.98/0.98, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.906/1.906, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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 1.734e-06/1.734e-06, allocations: 0 / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.209e-05, allocations: 4.219 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003888/0.00392, allocations: 2.103 MB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.005251, allocations: 0.6992 MB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.005385, allocations: 5.219 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.005884, allocations: 95.45 kB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.006102, allocations: 72.39 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.006313, allocations: 68.92 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.006588, allocations: 159.4 kB / 0.8159 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.006814, allocations: 90.62 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.007032, allocations: 91.73 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.00721, allocations: 55.86 kB / 0.8161 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.007238, allocations: 12 kB / 0.8161 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.007368, allocations: 61.34 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.007439, allocations: 39.84 kB / 0.8162 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.007509, allocations: 47.91 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.007772, allocations: 131.5 kB / 0.8164 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.007777, allocations: 5.781 kB / 0.8164 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007778, allocations: 0 / 0.8164 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.007782, allocations: 0 / 0.8164 GB, free: 13.79 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.0006307/0.008413, allocations: 0.5151 MB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.008453, allocations: 9.344 kB / 0.8169 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.00875, allocations: 48.77 kB / 0.8169 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.008973, allocations: 158.2 kB / 0.8171 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.009036, allocations: 72.14 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.009062, allocations: 8.375 kB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.009288, allocations: 155.7 kB / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.009298, allocations: 4 kB / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.009314, allocations: 4.562 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.009335, allocations: 6.031 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.009427, allocations: 65.61 kB / 0.8174 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.01015, allocations: 0.6838 MB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.01034, allocations: 85.2 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.01039, allocations: 46.17 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.0104, allocations: 0 / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.01058, allocations: 163.6 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.01058, allocations: 4 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002731/0.01085, allocations: 191 kB / 0.8185 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.01092, allocations: 136.5 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.01108, allocations: 240.2 kB / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.0111, allocations: 29.7 kB / 0.8189 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01121, allocations: 195.4 kB / 0.8191 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.01123, allocations: 19.89 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.01129, allocations: 47.97 kB / 0.8191 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01144, allocations: 0.4962 MB / 0.8196 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.0115, allocations: 72.03 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01161, allocations: 171.9 kB / 0.8199 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.01178, allocations: 221.8 kB / 0.8201 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01179, allocations: 4 kB / 0.8201 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002923/0.01208, allocations: 263.4 kB / 0.8203 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.01213, allocations: 63.39 kB / 0.8204 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.01214, allocations: 4.078 kB / 0.8204 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01215, allocations: 4 kB / 0.8204 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01227, allocations: 39.86 kB / 0.8204 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01228, allocations: 11.42 kB / 0.8204 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.01238, allocations: 15.89 kB / 0.8205 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01239, allocations: 8 kB / 0.8205 GB, free: 9.086 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 0.0001256/0.01251, allocations: 206.1 kB / 0.8207 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.01254, allocations: 19.91 kB / 0.8207 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.01257, allocations: 17.45 kB / 0.8207 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01258, allocations: 0 / 0.8207 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01258, allocations: 4.781 kB / 0.8207 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01258, allocations: 0 / 0.8207 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.0127, allocations: 129.8 kB / 0.8208 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01271, allocations: 3.984 kB / 0.8208 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.01277, allocations: 8.562 kB / 0.8208 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01277, allocations: 0.5625 kB / 0.8208 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01278, allocations: 4.891 kB / 0.8208 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01279, allocations: 0 / 0.8208 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.01279, allocations: 4 kB / 0.8209 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01309, allocations: 254.4 kB / 0.8211 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.01311, allocations: 7.953 kB / 0.8211 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01314, allocations: 8 kB / 0.8211 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.01319, allocations: 8.547 kB / 0.8211 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01325, allocations: 12.58 kB / 0.8211 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01325, allocations: 5.188 kB / 0.8211 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.01334, allocations: 163.3 kB / 0.8213 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01334, allocations: 0 / 0.8213 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002691/0.01361, allocations: 35.95 kB / 0.8213 GB, free: 8.133 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 0.0001262/0.01373, allocations: 103.2 kB / 0.8214 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.014, allocations: 277.1 kB / 0.8217 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01401, allocations: 0 / 0.8217 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.774e-05/0.0141, allocations: 116.7 kB / 0.8218 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01435, allocations: 24.86 kB / 0.8218 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.01507, allocations: 296.1 kB / 0.8221 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.01512, allocations: 72.39 kB / 0.8222 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.01518, allocations: 11.3 kB / 0.8222 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.01529, allocations: 94.19 kB / 0.8223 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.01529, allocations: 3.438 kB / 0.8223 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of Templates: time 0.004867/0.02016, allocations: 1.627 MB / 0.8239 GB, free: 5.457 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: 5.100031435023993]