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.00163/0.00163, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002574/0.002574, allocations: 165.3 kB / 22.46 MB, free: 5.379 MB / 14.72 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.017/3.017, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.603e-06/1.603e-06, allocations: 0 / 1 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.99e-05, allocations: 6.219 kB / 1 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004344/0.004374, allocations: 2.305 MB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.005996, allocations: 0.8142 MB / 1.003 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.006102, allocations: 7.938 kB / 1.003 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.006778, allocations: 147.3 kB / 1.003 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.007003, allocations: 71.55 kB / 1.003 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.007225, allocations: 59.8 kB / 1.003 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.007519, allocations: 167.4 kB / 1.004 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.007823, allocations: 85.09 kB / 1.004 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.008047, allocations: 95.73 kB / 1.004 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.008232, allocations: 63.84 kB / 1.004 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.008264, allocations: 15.94 kB / 1.004 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.008392, allocations: 47.89 kB / 1.004 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.00847, allocations: 43.83 kB / 1.004 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.008556, allocations: 39.92 kB / 1.004 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.008882, allocations: 187.4 kB / 1.004 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.008887, allocations: 0 / 1.004 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.837e-06/0.008891, allocations: 3.984 kB / 1.004 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.008897, allocations: 0 / 1.004 GB, free: 2.094 MB / 0.9044 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.000848/0.009745, allocations: 425.2 kB / 1.005 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.009786, allocations: 16.03 kB / 1.005 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.01009, allocations: 32.83 kB / 1.005 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01038, allocations: 154.1 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.01046, allocations: 64.16 kB / 1.005 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.0105, allocations: 16.33 kB / 1.005 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.01084, allocations: 175.3 kB / 1.005 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01085, allocations: 0 / 1.005 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.01087, allocations: 4 kB / 1.005 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.0109, allocations: 4 kB / 1.005 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.01113, allocations: 125.6 kB / 1.005 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.0121, allocations: 0.5581 MB / 1.006 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.01238, allocations: 80.27 kB / 1.006 GB, free: 308 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01248, allocations: 58.55 kB / 1.006 GB, free: 240 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.0125, allocations: 3.938 kB / 1.006 GB, free: 236 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.01275, allocations: 176.5 kB / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.01275, allocations: 0 / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005205/0.01327, allocations: 222.8 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.01337, allocations: 140.4 kB / 1.006 GB, free: 15.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01357, allocations: 194.9 kB / 1.006 GB, free: 15.42 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.0136, allocations: 25.7 kB / 1.006 GB, free: 15.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.0137, allocations: 131.8 kB / 1.007 GB, free: 15.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.01374, allocations: 27.78 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.01381, allocations: 45.66 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01397, allocations: 322.8 kB / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.0141, allocations: 95.39 kB / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01429, allocations: 164.8 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.0146, allocations: 234.3 kB / 1.007 GB, free: 14.26 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0146, allocations: 0 / 1.007 GB, free: 14.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004538/0.01505, allocations: 300.2 kB / 1.008 GB, free: 13.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.01512, allocations: 63.39 kB / 1.008 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01513, allocations: 4.312 kB / 1.008 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.01515, allocations: 4 kB / 1.008 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.0153, allocations: 35.92 kB / 1.008 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.01531, allocations: 11.94 kB / 1.008 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01545, allocations: 27.83 kB / 1.008 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01546, allocations: 8 kB / 1.008 GB, free: 13.77 MB / 0.92 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.000157/0.01562, allocations: 162.2 kB / 1.008 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.01564, allocations: 15.89 kB / 1.008 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.01567, allocations: 13.47 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01568, allocations: 8.031 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.01569, allocations: 11.92 kB / 1.008 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01569, allocations: 0 / 1.008 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.01585, allocations: 149.2 kB / 1.008 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01585, allocations: 3.938 kB / 1.008 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.01593, allocations: 8 kB / 1.008 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01593, allocations: 0 / 1.008 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.01595, allocations: 11.92 kB / 1.008 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01595, allocations: 0 / 1.008 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01596, allocations: 0 / 1.008 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.01645, allocations: 282.1 kB / 1.009 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.01648, allocations: 19.86 kB / 1.009 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.0165, allocations: 0 / 1.009 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.01659, allocations: 8 kB / 1.009 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.01668, allocations: 15.92 kB / 1.009 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01668, allocations: 0 / 1.009 GB, free: 13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001248/0.01681, allocations: 136.3 kB / 1.009 GB, free: 12.87 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.01681, allocations: 0 / 1.009 GB, free: 12.87 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002412/0.01705, allocations: 28 kB / 1.009 GB, free: 12.84 MB / 0.92 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.0001571/0.01721, allocations: 111.2 kB / 1.009 GB, free: 12.72 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.01765, allocations: 295.7 kB / 1.009 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01765, allocations: 0 / 1.009 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.01781, allocations: 121.1 kB / 1.009 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01808, allocations: 12.62 kB / 1.009 GB, free: 12.24 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.01883, allocations: 323.6 kB / 1.01 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.01896, allocations: 102.3 kB / 1.01 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.6e-05/0.01904, allocations: 16.64 kB / 1.01 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.01908, allocations: 16.5 kB / 1.01 GB, free: 11.73 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/0.01908, allocations: 3.938 kB / 1.01 GB, free: 11.72 MB / 0.92 GB Notification: Performance of Templates: time 0.005434/0.02451, allocations: 1.474 MB / 1.011 GB, free: 10.28 MB / 0.92 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.964220218360424]