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.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.001717/0.001717, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002161/0.002161, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.581/1.581, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003693/0.003693, allocations: 63.89 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.517, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.007174/0.5241, allocations: 2.297 MB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.527, allocations: 0.8298 MB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5271, allocations: 4 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.5281, allocations: 147.3 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.5285, allocations: 67.67 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.5288, allocations: 63.8 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.5293, allocations: 163.5 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.5297, allocations: 77.19 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.53, allocations: 79.7 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.5303, allocations: 71.66 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.5303, allocations: 8 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.5305, allocations: 55.89 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.5307, allocations: 43.83 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.5308, allocations: 51.78 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.5313, allocations: 179.3 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5313, allocations: 3.938 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5313, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.5314, allocations: 3.938 kB / 1.121 GB, free: 14.44 MB / 1.076 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.001283/0.5326, allocations: 421.2 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5327, allocations: 12.03 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.5332, allocations: 40.81 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.5338, allocations: 161.1 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.534, allocations: 67.72 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.534, allocations: 12 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.5346, allocations: 177.8 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5346, allocations: 0 / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.5346, allocations: 8 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.5347, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.5351, allocations: 117.5 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.5365, allocations: 0.5544 MB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.5369, allocations: 80.27 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.5371, allocations: 54.61 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5371, allocations: 0 / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.5375, allocations: 180.6 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.5375, allocations: 0 / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0008328/0.5384, allocations: 234.6 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.5385, allocations: 132.5 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.5389, allocations: 183.7 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.5389, allocations: 33.7 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5391, allocations: 135.8 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.5392, allocations: 23.8 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.5393, allocations: 37.7 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.5395, allocations: 322.8 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.5398, allocations: 99.38 kB / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.5401, allocations: 172.7 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.5406, allocations: 238.3 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5406, allocations: 4 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008116/0.5414, allocations: 304.1 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.5415, allocations: 63.34 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5416, allocations: 0 / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/0.5416, allocations: 4 kB / 1.125 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5418, allocations: 36.23 kB / 1.125 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.5418, allocations: 11.98 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.5421, allocations: 19.89 kB / 1.125 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.5422, allocations: 8 kB / 1.125 GB, free: 10.12 MB / 1.076 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.0002634/0.5424, allocations: 163.5 kB / 1.125 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.5425, allocations: 19.84 kB / 1.125 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.5425, allocations: 17.45 kB / 1.125 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5425, allocations: 0 / 1.125 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5425, allocations: 0 / 1.125 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5425, allocations: 4 kB / 1.125 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.5428, allocations: 149.2 kB / 1.126 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5428, allocations: 0 / 1.126 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.543, allocations: 11.98 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.543, allocations: 0 / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.543, allocations: 7.938 kB / 1.126 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.543, allocations: 4 kB / 1.126 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.543, allocations: 0 / 1.126 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.5439, allocations: 286 kB / 1.126 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.544, allocations: 7.984 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.544, allocations: 12 kB / 1.126 GB, free: 9.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5442, allocations: 11.98 kB / 1.126 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5443, allocations: 15.92 kB / 1.126 GB, free: 9.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.5443, allocations: 0 / 1.126 GB, free: 9.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002274/0.5446, allocations: 131.5 kB / 1.126 GB, free: 9.211 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5446, allocations: 0 / 1.126 GB, free: 9.211 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004907/0.545, allocations: 35.95 kB / 1.126 GB, free: 9.176 MB / 1.076 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.0001868/0.5452, allocations: 103.2 kB / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007744/0.546, allocations: 303.7 kB / 1.126 GB, free: 8.723 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.546, allocations: 0 / 1.126 GB, free: 8.723 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.5463, allocations: 125 kB / 1.127 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5467, allocations: 15.98 kB / 1.127 GB, free: 8.566 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.5478, allocations: 339.7 kB / 1.127 GB, free: 8.203 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.548, allocations: 106.3 kB / 1.127 GB, free: 8.074 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.5481, allocations: 24.62 kB / 1.127 GB, free: 8.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.5482, allocations: 12.5 kB / 1.127 GB, free: 8.039 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.5482, allocations: 0 / 1.127 GB, free: 8.039 MB / 1.076 GB Notification: Performance of Templates: time 0.008227/0.5564, allocations: 1.466 MB / 1.128 GB, free: 6.605 MB / 1.076 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 ida -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/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.855934633058496]