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.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.001857/0.001857, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00239/0.00239, allocations: 220 kB / 22.24 MB, free: 5.109 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.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.824/2.824, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 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: "" <> 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: 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.002124/0.002124, allocations: 65.19 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002202/0.3432, allocations: 0.819 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.345, allocations: 1.18 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.3451, allocations: 4 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3452, allocations: 11.86 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3453, allocations: 19.88 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.3458, allocations: 147.5 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.3463, allocations: 343.4 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3464, allocations: 68.42 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3466, allocations: 151.7 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3469, allocations: 159.6 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.347, allocations: 32 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3471, allocations: 40 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.3471, allocations: 55.83 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.3473, allocations: 119.6 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3478, allocations: 402.3 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3478, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3478, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3478, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 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.0008987/0.3487, allocations: 0.5123 MB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3487, allocations: 12.03 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.3488, allocations: 46.73 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.312e-05/0.3489, allocations: 28.83 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.3493, allocations: 234.8 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.3494, allocations: 16.38 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.3494, allocations: 20.38 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.3498, allocations: 183.4 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3498, allocations: 3.938 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3498, allocations: 7.938 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3498, allocations: 4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.3501, allocations: 144.4 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3512, allocations: 0.5851 MB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3514, allocations: 122.5 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3516, allocations: 76.73 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3516, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.3519, allocations: 175.4 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3519, allocations: 0 / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005737/0.3524, allocations: 297.4 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3525, allocations: 55.41 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3527, allocations: 194.2 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.3527, allocations: 41.7 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3529, allocations: 136.4 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3529, allocations: 47.62 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3531, allocations: 81.67 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3533, allocations: 326.8 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.3537, allocations: 328.8 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.3542, allocations: 380.4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.3548, allocations: 393.6 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3548, allocations: 0 / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001139/0.3559, allocations: 0.7296 MB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.356, allocations: 99.12 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.356, allocations: 7.938 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3561, allocations: 4.219 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3562, allocations: 15.98 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3562, allocations: 4 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.3567, allocations: 103.8 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.3568, allocations: 19.98 kB / 1.291 GB, free: 3.23 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.0002335/0.357, allocations: 183.4 kB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.357, allocations: 11.91 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.3575, allocations: 235.3 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3575, allocations: 0 / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3575, allocations: 0 / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3575, allocations: 4 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3578, allocations: 240.4 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3578, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3578, allocations: 11.98 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3578, allocations: 4 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3578, allocations: 4 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3578, allocations: 0 / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3578, allocations: 0 / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3582, allocations: 258.9 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.3583, allocations: 15.84 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3583, allocations: 3.984 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.3583, allocations: 11.98 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.3584, allocations: 19.98 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3584, allocations: 7.984 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3585, allocations: 132.2 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3585, allocations: 4 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000333/0.3589, allocations: 67.89 kB / 1.292 GB, free: 1.965 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.0007576/0.3596, allocations: 0.7948 MB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008555/0.3605, allocations: 0.6161 MB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3605, allocations: 0 / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3606, allocations: 83.88 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3609, allocations: 38.3 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.3655, allocations: 3.588 MB / 1.297 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3657, allocations: 139.9 kB / 1.297 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.218e-05/0.3658, allocations: 25.42 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3659, allocations: 55.41 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.3659, allocations: 3.938 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.4005, allocations: 6.572 MB / 1.304 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 6.688 kB / 1.304 GB, free: 5.945 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 19.037337942048907]