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.001007/0.001007, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009788/0.0009788, allocations: 173 kB / 23.49 MB, free: 1.059 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.9336/0.9336, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.152/2.152, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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 2.114e-06/2.114e-06, allocations: 0 / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.3e-05, allocations: 3.062 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003296/0.003329, allocations: 2.39 MB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004462, allocations: 0.8473 MB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.004565, allocations: 0.6562 kB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.005063, allocations: 152.9 kB / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.005326, allocations: 63.55 kB / 0.8815 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.005482, allocations: 65.95 kB / 0.8816 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005683, allocations: 171.4 kB / 0.8817 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.005913, allocations: 77.12 kB / 0.8818 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.006093, allocations: 103.7 kB / 0.8819 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.006251, allocations: 55.8 kB / 0.882 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.006272, allocations: 14.31 kB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.006376, allocations: 55.89 kB / 0.882 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.006437, allocations: 43.83 kB / 0.8821 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.006502, allocations: 43.91 kB / 0.8821 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.006735, allocations: 135.5 kB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.006738, allocations: 0 / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006739, allocations: 0.7188 kB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.006743, allocations: 4 kB / 0.8822 GB, free: 2.484 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.0005872/0.007331, allocations: 0.5128 MB / 0.8827 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.007366, allocations: 8.031 kB / 0.8827 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.007609, allocations: 48.83 kB / 0.8828 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007829, allocations: 160.5 kB / 0.8829 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.007888, allocations: 68.14 kB / 0.883 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.007914, allocations: 16.36 kB / 0.883 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.008117, allocations: 168.6 kB / 0.8832 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.008124, allocations: 0 / 0.8832 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.008145, allocations: 4 kB / 0.8832 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.008166, allocations: 4 kB / 0.8832 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.008252, allocations: 69.61 kB / 0.8833 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.008893, allocations: 0.6916 MB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.009058, allocations: 76.75 kB / 0.884 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.009102, allocations: 53.44 kB / 0.8841 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.009123, allocations: 0 / 0.8841 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.009291, allocations: 174.1 kB / 0.8842 GB, free: 224 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.009293, allocations: 0 / 0.8842 GB, free: 224 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000255/0.009548, allocations: 194.8 kB / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.009612, allocations: 136.5 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.00974, allocations: 229.8 kB / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.009754, allocations: 33.69 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.009829, allocations: 186.5 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.009849, allocations: 27.78 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.009893, allocations: 35.38 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.01015, allocations: 0.5001 MB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.0102, allocations: 79.38 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.01029, allocations: 171.9 kB / 0.8858 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01042, allocations: 233.5 kB / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01042, allocations: 0 / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002074/0.01063, allocations: 268.1 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.01068, allocations: 69.58 kB / 0.8863 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.01068, allocations: 0 / 0.8863 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.0107, allocations: 4.312 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.01078, allocations: 39.86 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01079, allocations: 4 kB / 0.8864 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.01085, allocations: 23.88 kB / 0.8864 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01086, allocations: 8 kB / 0.8864 GB, free: 13.73 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 9.354e-05/0.01096, allocations: 199.1 kB / 0.8866 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.01098, allocations: 15.91 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.011, allocations: 17.45 kB / 0.8866 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.011, allocations: 0 / 0.8866 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01101, allocations: 7.938 kB / 0.8866 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01101, allocations: 0 / 0.8866 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.01112, allocations: 156.6 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01112, allocations: 7.938 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.01116, allocations: 15.92 kB / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.01116, allocations: 0 / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01118, allocations: 8 kB / 0.8868 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01118, allocations: 0 / 0.8868 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01118, allocations: 0 / 0.8868 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.0114, allocations: 253.4 kB / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.01141, allocations: 7.906 kB / 0.887 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.01143, allocations: 8.031 kB / 0.887 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.01147, allocations: 15.98 kB / 0.8871 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.01152, allocations: 7.922 kB / 0.8871 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.01153, allocations: 4 kB / 0.8871 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.0116, allocations: 165.5 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001604/0.01176, allocations: 35.94 kB / 0.8873 GB, free: 12.73 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.858e-05/0.01184, allocations: 103.2 kB / 0.8874 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.01205, allocations: 279.6 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01205, allocations: 0 / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/0.01211, allocations: 120.8 kB / 0.8877 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01229, allocations: 29.38 kB / 0.8878 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.01289, allocations: 297.1 kB / 0.8881 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.01294, allocations: 87.12 kB / 0.8881 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.574e-05/0.01299, allocations: 20.8 kB / 0.8882 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.01302, allocations: 16.5 kB / 0.8882 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01302, allocations: 0 / 0.8882 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.003471/0.0165, allocations: 1.486 MB / 0.8896 GB, free: 10.22 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.727284773020074]