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.001606/0.001606, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001884/0.001884, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.955/2.955, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.733e-06/1.733e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.98e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005021/0.005051, allocations: 2.3 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.006974, allocations: 0.8219 MB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.007117, allocations: 4 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.007842, allocations: 147.3 kB / 0.814 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.008131, allocations: 73 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.008372, allocations: 55.81 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.008737, allocations: 168.3 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.009021, allocations: 81.12 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.009289, allocations: 104.3 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.009478, allocations: 57.39 kB / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.009511, allocations: 12 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.009657, allocations: 47.89 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.009737, allocations: 43.83 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.009843, allocations: 50.47 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.01021, allocations: 183.4 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01021, allocations: 0 / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.52e-07/0.01021, allocations: 0 / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.01022, allocations: 0 / 0.8148 GB, free: 14.04 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.0008932/0.01111, allocations: 425.2 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.01115, allocations: 8.562 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/0.01154, allocations: 57.47 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.01186, allocations: 157 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.01194, allocations: 61.72 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.01199, allocations: 20.31 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.01237, allocations: 177.8 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.01238, allocations: 0 / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.0124, allocations: 4.594 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.01242, allocations: 8 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01269, allocations: 118.3 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.01373, allocations: 0.5559 MB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.01403, allocations: 85.62 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01415, allocations: 54.61 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.01417, allocations: 4 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.01446, allocations: 180.9 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.01446, allocations: 0 / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005387/0.015, allocations: 222.9 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.01512, allocations: 144.4 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.01537, allocations: 192.5 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.0154, allocations: 29.7 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01553, allocations: 140.6 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.01556, allocations: 19.84 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.01566, allocations: 38.89 kB / 0.8174 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004653/0.01612, allocations: 330.8 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.01629, allocations: 91.39 kB / 0.8178 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.01653, allocations: 165.7 kB / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.01691, allocations: 235.6 kB / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01691, allocations: 3.938 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005376/0.01745, allocations: 309.6 kB / 0.8185 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.01752, allocations: 63.39 kB / 0.8185 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01753, allocations: 0.625 kB / 0.8185 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.01755, allocations: 4 kB / 0.8185 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01771, allocations: 36.39 kB / 0.8186 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01772, allocations: 4.875 kB / 0.8186 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.01788, allocations: 32.52 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01789, allocations: 9.25 kB / 0.8186 GB, free: 9.695 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.0001822/0.01808, allocations: 169.6 kB / 0.8188 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.01812, allocations: 16.61 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.01815, allocations: 13.47 kB / 0.8188 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01815, allocations: 0.7656 kB / 0.8188 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.01816, allocations: 7.922 kB / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.01816, allocations: 3.938 kB / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.01835, allocations: 153.2 kB / 0.819 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01836, allocations: 3.938 kB / 0.819 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-05/0.01845, allocations: 8 kB / 0.819 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01845, allocations: 0 / 0.819 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.01847, allocations: 4 kB / 0.819 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01847, allocations: 4 kB / 0.819 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.01848, allocations: 7.969 kB / 0.819 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.01902, allocations: 282 kB / 0.8193 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.01905, allocations: 13.19 kB / 0.8193 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.01908, allocations: 4 kB / 0.8193 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01919, allocations: 7.984 kB / 0.8193 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.01925, allocations: 16.95 kB / 0.8193 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01927, allocations: 4 kB / 0.8193 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001638/0.01943, allocations: 132.4 kB / 0.8194 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01943, allocations: 0 / 0.8194 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002758/0.01971, allocations: 32 kB / 0.8195 GB, free: 8.762 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.000137/0.01984, allocations: 96.31 kB / 0.8196 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.02032, allocations: 301.4 kB / 0.8198 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02032, allocations: 1.156 kB / 0.8198 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.02051, allocations: 121.1 kB / 0.82 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.02077, allocations: 16.44 kB / 0.82 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.02151, allocations: 328.5 kB / 0.8203 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.02163, allocations: 103.5 kB / 0.8204 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.698e-05/0.02171, allocations: 16.8 kB / 0.8204 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.02175, allocations: 16.5 kB / 0.8204 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.02175, allocations: 0 / 0.8204 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.005307/0.02706, allocations: 1.478 MB / 0.8219 GB, free: 6.242 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.212548378040083]