Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.00165/0.00165, allocations: 106.9 kB / 16.45 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.001825/0.001825, 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.44/1.44, 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.757/2.757, 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.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8544, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002284/0.8567, allocations: 0.8195 MB / 1.27 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.8585, allocations: 1.18 MB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.8586, allocations: 4 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.8587, allocations: 15.86 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.8588, allocations: 11.88 kB / 1.271 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.8594, allocations: 146.9 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.86, allocations: 351.4 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.8602, allocations: 94.5 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.8604, allocations: 147.7 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.8608, allocations: 139.6 kB / 1.272 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.8609, allocations: 32 kB / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.861, allocations: 47.98 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.8611, allocations: 47.84 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.8613, allocations: 139.5 kB / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.8619, allocations: 400.6 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8619, allocations: 0 / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8619, allocations: 0 / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.8619, allocations: 0 / 1.272 GB, free: 1.645 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001125/0.8631, allocations: 0.5934 MB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.8631, allocations: 8.031 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.8632, allocations: 50.69 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.8633, allocations: 36.78 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.8638, allocations: 281.4 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.8638, allocations: 16.38 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.8639, allocations: 28.36 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.8642, allocations: 178.1 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8642, allocations: 11.88 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.8642, allocations: 4 kB / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.8642, allocations: 4 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.8645, allocations: 143.9 kB / 1.273 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.8657, allocations: 0.6641 MB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.8659, allocations: 126.4 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.866, allocations: 72.75 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.8661, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.8663, allocations: 171.2 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.8664, allocations: 0 / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005747/0.8669, allocations: 304.4 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.867, allocations: 59.41 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.8672, allocations: 186.3 kB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.8672, allocations: 33.7 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.8674, allocations: 140.5 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.8674, allocations: 47.67 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.8676, allocations: 81.67 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8678, allocations: 326.8 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.8682, allocations: 227.7 kB / 1.276 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.8686, allocations: 278.7 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.8691, allocations: 393.7 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8691, allocations: 0 / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001028/0.8701, allocations: 0.6326 MB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/0.8702, allocations: 97.31 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8702, allocations: 4 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8703, allocations: 4 kB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8704, allocations: 27.8 kB / 1.277 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8704, allocations: 4 kB / 1.277 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.8709, allocations: 103.8 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.871, allocations: 23.98 kB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0002067/0.8712, allocations: 172.1 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.8712, allocations: 19.89 kB / 1.278 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.8716, allocations: 227.4 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8716, allocations: 4 kB / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8717, allocations: 0 / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8717, allocations: 0 / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.872, allocations: 277.4 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.872, allocations: 0 / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.872, allocations: 15.92 kB / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.872, allocations: 0 / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.872, allocations: 12 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.872, allocations: 0 / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8721, allocations: 3.984 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.8724, allocations: 246.6 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.8725, allocations: 93.02 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.8725, allocations: 4 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.8726, allocations: 7.984 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.8726, allocations: 19.97 kB / 1.278 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.8726, allocations: 7.984 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001429/0.8728, allocations: 140.2 kB / 1.279 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8728, allocations: 0 / 1.279 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003322/0.8731, allocations: 67.89 kB / 1.279 GB, free: 10.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007308/0.8738, allocations: 0.7885 MB / 1.279 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.8746, allocations: 0.5212 MB / 1.28 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8746, allocations: 0 / 1.28 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.8748, allocations: 90.55 kB / 1.28 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.8751, allocations: 47.16 kB / 1.28 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.8795, allocations: 3.164 MB / 1.283 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.8799, allocations: 0.7513 MB / 1.284 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.837e-05/0.88, allocations: 33.34 kB / 1.284 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.88, allocations: 47.42 kB / 1.284 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.88, allocations: 0 / 1.284 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.9811, allocations: 5.726 MB / 1.29 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.528, allocations: 12.41 kB / 1.29 GB, free: 15.37 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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: 15.672620587982237]