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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004767/0.004772, allocations: 95.48 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 191.3 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.612/2.612, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 59.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3473, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002349/0.3497, allocations: 0.83 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3515, allocations: 1.182 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.3516, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3517, allocations: 15.86 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3518, allocations: 11.88 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.3524, allocations: 151.3 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.3529, allocations: 367.4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.3532, allocations: 112.2 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3534, allocations: 147.7 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.3537, allocations: 143.6 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3538, allocations: 32 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.354, allocations: 47.98 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.3541, allocations: 51.83 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3543, allocations: 131.5 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.3549, allocations: 394.7 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3549, allocations: 4 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3549, allocations: 4 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.355, allocations: 0 / 1.224 GB, free: 10.72 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.001164/0.3561, allocations: 0.5895 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3562, allocations: 8.031 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.3562, allocations: 42.73 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3564, allocations: 28.8 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.3568, allocations: 285.4 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.3568, allocations: 20.38 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.3569, allocations: 28.36 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.3573, allocations: 182.6 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3573, allocations: 3.938 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3573, allocations: 4 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.3573, allocations: 4 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.3576, allocations: 143.9 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3586, allocations: 0.6602 MB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.3588, allocations: 130.5 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3589, allocations: 80.67 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.359, allocations: 4 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.3593, allocations: 179.3 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3593, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006147/0.3599, allocations: 297.4 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.36, allocations: 55.41 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3602, allocations: 190.3 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.3603, allocations: 41.64 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3604, allocations: 136.5 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3605, allocations: 35.7 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3606, allocations: 85.66 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3608, allocations: 330.8 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.3612, allocations: 219.8 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.3616, allocations: 282.6 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.3621, allocations: 401.5 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3622, allocations: 0 / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009772/0.3631, allocations: 0.6287 MB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.3632, allocations: 101.1 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3632, allocations: 0 / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3633, allocations: 4 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3634, allocations: 15.98 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3634, allocations: 0 / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.364, allocations: 111.8 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.364, allocations: 19.98 kB / 1.229 GB, free: 5.086 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.0002019/0.3642, allocations: 171.2 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3643, allocations: 15.91 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.3647, allocations: 237 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3647, allocations: 0 / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3647, allocations: 4 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3647, allocations: 3.984 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.3651, allocations: 273.4 kB / 1.229 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3651, allocations: 4 kB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.3652, allocations: 15.98 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3652, allocations: 0 / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3652, allocations: 4 kB / 1.229 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3652, allocations: 0 / 1.229 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3652, allocations: 0 / 1.229 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3656, allocations: 256.7 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.3656, allocations: 89.02 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3657, allocations: 8 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.3657, allocations: 3.984 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.3658, allocations: 15.98 kB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3658, allocations: 7.938 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3659, allocations: 144.2 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3659, allocations: 0 / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003146/0.3663, allocations: 67.89 kB / 1.23 GB, free: 3.691 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.0007256/0.367, allocations: 0.7912 MB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008413/0.3678, allocations: 0.5603 MB / 1.231 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3679, allocations: 448 / 1.231 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.368, allocations: 99.88 kB / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3683, allocations: 37.47 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3727, allocations: 3.169 MB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3732, allocations: 0.7396 MB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.3733, allocations: 29.41 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.3734, allocations: 51.42 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/0.3734, allocations: 4 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.261/2.635, allocations: 5.682 MB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/14.49, allocations: 7.594 kB / 1.241 GB, free: 8.473 MB / 0.9981 GB (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 --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) 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) Reference file matches