Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001619/0.001619, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001133/0.001133, allocations: 173 kB / 24.06 MB, free: 452 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 1.035/1.035, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.111/2.111, allocations: 429.5 MB / 0.6743 GB, free: 3.844 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8793 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.712e-05, allocations: 3.562 kB / 0.8793 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002709/0.002726, allocations: 2.113 MB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.003615, allocations: 0.6965 MB / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.00375, allocations: 5.125 kB / 0.8821 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.00434, allocations: 95.5 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.004539, allocations: 73.69 kB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.004674, allocations: 63.73 kB / 0.8823 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004857, allocations: 171.3 kB / 0.8825 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.005025, allocations: 79.55 kB / 0.8826 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.005182, allocations: 99.78 kB / 0.8827 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005315, allocations: 59.8 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005336, allocations: 12 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-05/0.00542, allocations: 59.75 kB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.005468, allocations: 39.91 kB / 0.8828 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.005517, allocations: 48.56 kB / 0.8829 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005709, allocations: 135.6 kB / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005711, allocations: 1.656 kB / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005711, allocations: 0 / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005715, allocations: 0 / 0.883 GB, free: 2.324 MB / 0.8386 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.0004862/0.006201, allocations: 0.5151 MB / 0.8835 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006237, allocations: 8.531 kB / 0.8835 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.006439, allocations: 50.11 kB / 0.8836 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.006608, allocations: 165.9 kB / 0.8837 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.006652, allocations: 61.73 kB / 0.8838 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.006672, allocations: 12.38 kB / 0.8838 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.006832, allocations: 159 kB / 0.8839 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006839, allocations: 3.938 kB / 0.8839 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.006848, allocations: 4 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.006864, allocations: 8 kB / 0.8839 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.006922, allocations: 58.8 kB / 0.884 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.007423, allocations: 0.6877 MB / 0.8847 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.007549, allocations: 76.69 kB / 0.8847 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.00758, allocations: 45.45 kB / 0.8848 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007591, allocations: 0 / 0.8848 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.007722, allocations: 174 kB / 0.885 GB, free: 84 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007723, allocations: 4 kB / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002059/0.007929, allocations: 182.9 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.007982, allocations: 140.5 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.008102, allocations: 233.7 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.008113, allocations: 25.7 kB / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.008188, allocations: 194.4 kB / 0.8857 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.008204, allocations: 23.83 kB / 0.8857 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.008248, allocations: 39.36 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.008357, allocations: 0.4962 MB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.008396, allocations: 71.39 kB / 0.8863 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.008474, allocations: 171.9 kB / 0.8865 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.008595, allocations: 225.5 kB / 0.8867 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008597, allocations: 0 / 0.8867 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001854/0.008782, allocations: 272.1 kB / 0.887 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.008816, allocations: 65.58 kB / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.008822, allocations: 4 kB / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.00883, allocations: 0 / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.008906, allocations: 35.86 kB / 0.8871 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.00891, allocations: 4.312 kB / 0.8871 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.008975, allocations: 27.89 kB / 0.8871 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008983, allocations: 4 kB / 0.8871 GB, free: 13.62 MB / 0.8542 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.0003438/0.009327, allocations: 206.1 kB / 0.8873 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.009346, allocations: 15.91 kB / 0.8873 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.009366, allocations: 17.45 kB / 0.8873 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.009368, allocations: 0 / 0.8873 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.00937, allocations: 3.938 kB / 0.8873 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009374, allocations: 4 kB / 0.8873 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.829e-05/0.009452, allocations: 129.2 kB / 0.8874 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009453, allocations: 4 kB / 0.8875 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.009491, allocations: 12 kB / 0.8875 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009494, allocations: 4.031 kB / 0.8875 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.009504, allocations: 7.984 kB / 0.8875 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.009504, allocations: 0 / 0.8875 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009505, allocations: 3.938 kB / 0.8875 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.009699, allocations: 249.3 kB / 0.8877 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.009714, allocations: 11.91 kB / 0.8877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.009729, allocations: 0 / 0.8877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.009766, allocations: 11.98 kB / 0.8877 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.009802, allocations: 12.02 kB / 0.8878 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.009809, allocations: 4 kB / 0.8878 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.009865, allocations: 165.5 kB / 0.8879 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009865, allocations: 0 / 0.8879 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001618/0.01003, allocations: 28 kB / 0.8879 GB, free: 12.66 MB / 0.8542 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 7.433e-05/0.0101, allocations: 103.2 kB / 0.888 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.01027, allocations: 274.2 kB / 0.8883 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01027, allocations: 128 / 0.8883 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.01033, allocations: 124.7 kB / 0.8884 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.01048, allocations: 23.92 kB / 0.8884 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.01096, allocations: 292.6 kB / 0.8887 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.011, allocations: 79.19 kB / 0.8888 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.01104, allocations: 16.64 kB / 0.8888 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.01111, allocations: 86.2 kB / 0.8889 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.01111, allocations: 4 kB / 0.8889 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.003069/0.01418, allocations: 1.643 MB / 0.8905 GB, free: 9.938 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.592664020135999]