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.001816/0.001816, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.00212/0.00212, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.716/2.716, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.88 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8482, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00405/0.8522, allocations: 2.342 MB / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.8536, allocations: 0.7909 MB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.8537, allocations: 4 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.8544, allocations: 151.4 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.8545, allocations: 67.59 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.8547, allocations: 47.88 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.8549, allocations: 159.5 kB / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.8552, allocations: 86.88 kB / 1.272 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.8553, allocations: 67.7 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.8554, allocations: 67.73 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.8555, allocations: 12 kB / 1.272 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.8556, allocations: 51.89 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.8556, allocations: 43.83 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.8557, allocations: 67.67 kB / 1.273 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.856, allocations: 159.3 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.856, allocations: 4 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.856, allocations: 0 / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.856, allocations: 4 kB / 1.273 GB, free: 1.051 MB / 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.0007847/0.8568, allocations: 0.4905 MB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8568, allocations: 8.031 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.8569, allocations: 42.73 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.8571, allocations: 28.83 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.8573, allocations: 218.1 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.8574, allocations: 42.44 kB / 1.274 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.8574, allocations: 11.94 kB / 1.274 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.8578, allocations: 156 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8578, allocations: 0 / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.8578, allocations: 4 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.8578, allocations: 4 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.858, allocations: 87.94 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.8589, allocations: 0.6402 MB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.8591, allocations: 54.55 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.8592, allocations: 28.84 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.8592, allocations: 8 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.8594, allocations: 142.9 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.8594, allocations: 0 / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003742/0.8598, allocations: 163.2 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8599, allocations: 136.5 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.8601, allocations: 186.8 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.8601, allocations: 33.7 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.8602, allocations: 140 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.8602, allocations: 15.89 kB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.8603, allocations: 41.66 kB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8604, allocations: 326.8 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.811e-05/0.8605, allocations: 31.98 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.8607, allocations: 109.4 kB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.8609, allocations: 238.3 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8609, allocations: 0 / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003556/0.8613, allocations: 244.7 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.8613, allocations: 67.28 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8613, allocations: 4 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8614, allocations: 4 kB / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.8615, allocations: 35.92 kB / 1.276 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8615, allocations: 4.297 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.8616, allocations: 27.89 kB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.8616, allocations: 8 kB / 1.276 GB, free: 12.9 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.0001448/0.8618, allocations: 171.4 kB / 1.277 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.8618, allocations: 19.84 kB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.8619, allocations: 17.39 kB / 1.277 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8619, allocations: 3.938 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8619, allocations: 0 / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.8619, allocations: 4 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.8621, allocations: 213.6 kB / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8621, allocations: 0 / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.8621, allocations: 8 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.8621, allocations: 3.938 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.8621, allocations: 7.984 kB / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8621, allocations: 0 / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8622, allocations: 0 / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.8625, allocations: 222.6 kB / 1.277 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.8626, allocations: 81.06 kB / 1.277 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.8626, allocations: 11.97 kB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.8627, allocations: 11.98 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.8628, allocations: 16.06 kB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.8628, allocations: 0 / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001091/0.8629, allocations: 128.3 kB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8629, allocations: 4 kB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002386/0.8632, allocations: 32.02 kB / 1.277 GB, free: 11.84 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.0006733/0.8638, allocations: 0.7649 MB / 1.278 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.8641, allocations: 203.5 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8641, allocations: 0 / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.8643, allocations: 99.31 kB / 1.278 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.8645, allocations: 18.17 kB / 1.278 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.8669, allocations: 1.969 MB / 1.28 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8672, allocations: 0.7119 MB / 1.281 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.664e-05/0.8673, allocations: 16.64 kB / 1.281 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.8674, allocations: 43.36 kB / 1.281 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8674, allocations: 0 / 1.281 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.8949, allocations: 3.151 MB / 1.284 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.991, allocations: 12.86 kB / 1.284 GB, free: 4.727 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] 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: 14.92261401284486]