Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.902/2.902, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9161/0.9181, allocations: 168.7 MB / 1.274 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004098/0.9222, allocations: 2.369 MB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.9236, allocations: 0.8104 MB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.9237, allocations: 4 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.9243, allocations: 159.3 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.9245, allocations: 59.67 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.9247, allocations: 55.8 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.9249, allocations: 155.5 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.9251, allocations: 80.78 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.9253, allocations: 67.77 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.9254, allocations: 75.67 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.9254, allocations: 16 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.9256, allocations: 51.89 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.9256, allocations: 31.91 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.9257, allocations: 67.66 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.926, allocations: 174.2 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.926, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.926, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.926, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 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.0008503/0.9269, allocations: 490.4 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9269, allocations: 19.97 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.9271, allocations: 28.83 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.9274, allocations: 222.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.9275, allocations: 46.33 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.9275, allocations: 12.12 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.9278, allocations: 140.2 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.9278, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.9279, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.9279, allocations: 8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.9281, allocations: 87.88 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.9291, allocations: 0.6403 MB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.9293, allocations: 50.56 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.9294, allocations: 28.91 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.9294, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.9296, allocations: 154.6 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.9296, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.93, allocations: 155.4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.9301, allocations: 132.5 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.9303, allocations: 194.8 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.9303, allocations: 25.7 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.9305, allocations: 148 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.9305, allocations: 15.91 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.9305, allocations: 49.59 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9307, allocations: 322.8 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.9308, allocations: 39.97 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.9309, allocations: 109.4 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.9312, allocations: 230.4 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9312, allocations: 0 / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003939/0.9316, allocations: 248.8 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.9317, allocations: 59.39 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9317, allocations: 15.81 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9317, allocations: 4 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.9318, allocations: 27.98 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9318, allocations: 7.938 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.932, allocations: 31.81 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.932, allocations: 4 kB / 1.282 GB, free: 12.18 MB / 0.9825 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.0001564/0.9322, allocations: 171.7 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.9322, allocations: 15.91 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.9322, allocations: 17.34 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9322, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9322, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9322, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.9324, allocations: 213.6 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9325, allocations: 0 / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.9325, allocations: 15.92 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9325, allocations: 8 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.9326, allocations: 3.938 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9326, allocations: 4 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9326, allocations: 0 / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.933, allocations: 215 kB / 1.282 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.933, allocations: 89.19 kB / 1.282 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.9331, allocations: 3.938 kB / 1.282 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.9332, allocations: 20.03 kB / 1.282 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.9332, allocations: 11.98 kB / 1.282 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.9332, allocations: 4 kB / 1.282 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001201/0.9334, allocations: 128.3 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9334, allocations: 0 / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002435/0.9336, allocations: 27.95 kB / 1.283 GB, free: 11.14 MB / 0.9825 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.000138/0.9337, allocations: 111.2 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.9341, allocations: 210.7 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9341, allocations: 0 / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.9342, allocations: 95.31 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.9344, allocations: 14.03 kB / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.9351, allocations: 310.5 kB / 1.283 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.9354, allocations: 0.7119 MB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.9355, allocations: 28.56 kB / 1.284 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.9355, allocations: 11.44 kB / 1.284 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9355, allocations: 0 / 1.284 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of Templates: time 0.004683/0.9402, allocations: 1.463 MB / 1.285 GB, free: 8.117 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.09584723599255]