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.001771/0.001771, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002386/0.002386, allocations: 217.1 kB / 22.25 MB, free: 5.125 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.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.404/3.404, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [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.001971/0.001971, allocations: 61.81 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.394, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004224/0.3983, allocations: 2.379 MB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.4, allocations: 0.8844 MB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.4001, allocations: 4 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.4008, allocations: 155.4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.401, allocations: 63.61 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.4013, allocations: 71.8 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.4016, allocations: 163.4 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.4019, allocations: 85.11 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.402, allocations: 67.77 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.4023, allocations: 79.61 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4023, allocations: 12 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.4025, allocations: 63.88 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.4025, allocations: 31.91 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.4026, allocations: 67.67 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.4029, allocations: 179.3 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4029, allocations: 3.938 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4029, allocations: 4 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.4029, allocations: 0 / 1.357 GB, free: 4.195 MB / 1.045 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.000778/0.4037, allocations: 421.2 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4037, allocations: 12.03 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.4038, allocations: 50.69 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.4041, allocations: 36.81 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.4044, allocations: 160.5 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.4044, allocations: 71.52 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.4045, allocations: 8 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.4048, allocations: 148.1 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4048, allocations: 0 / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.4048, allocations: 8 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4048, allocations: 4 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.405, allocations: 91.83 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.4059, allocations: 0.6004 MB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.4062, allocations: 66.53 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.4063, allocations: 24.91 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.4063, allocations: 192 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.4065, allocations: 150.6 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4065, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.00042/0.407, allocations: 159.3 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.4071, allocations: 136.5 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4073, allocations: 182.7 kB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4073, allocations: 25.7 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4074, allocations: 144 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.4074, allocations: 19.88 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.4075, allocations: 41.66 kB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4076, allocations: 326.8 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.4077, allocations: 39.98 kB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.4079, allocations: 110.8 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4082, allocations: 234.3 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4082, allocations: 0 / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003869/0.4086, allocations: 248.6 kB / 1.36 GB, free: 364 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.4087, allocations: 61.59 kB / 1.36 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4087, allocations: 8 kB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4087, allocations: 0 / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4088, allocations: 35.92 kB / 1.36 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4088, allocations: 7.984 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.409, allocations: 19.89 kB / 1.361 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.409, allocations: 8 kB / 1.361 GB, free: 212 kB / 1.045 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.0001561/0.4091, allocations: 175.3 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.4092, allocations: 24.05 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4092, allocations: 17.39 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4092, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4092, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4092, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.4094, allocations: 180.7 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4094, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.4095, allocations: 11.94 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4095, allocations: 0 / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.4095, allocations: 15.98 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4095, allocations: 0 / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4095, allocations: 4 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.41, allocations: 219 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.41, allocations: 7.891 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4101, allocations: 4 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.4101, allocations: 11.98 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4102, allocations: 16.03 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4102, allocations: 4 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001203/0.4103, allocations: 140.8 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4103, allocations: 0 / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002522/0.4106, allocations: 35.89 kB / 1.361 GB, free: 15.26 MB / 1.061 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.0007188/0.4113, allocations: 0.7662 MB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.4116, allocations: 206.6 kB / 1.362 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4116, allocations: 3.938 kB / 1.362 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4118, allocations: 87.38 kB / 1.362 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.412, allocations: 16.69 kB / 1.362 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4146, allocations: 1.981 MB / 1.364 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.415, allocations: 0.72 MB / 1.365 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.444e-05/0.4151, allocations: 24.61 kB / 1.365 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.4152, allocations: 43.42 kB / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4152, allocations: 0 / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4495, allocations: 3.36 MB / 1.368 GB, free: 7.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.65, allocations: 7.328 kB / 1.368 GB, free: 7.949 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/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: 18.752234103158116]