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.00144/0.00144, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001456/0.001456, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] 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.465/2.465, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 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.001759/0.001759, allocations: 63.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7551, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001758/0.7569, allocations: 0.8432 MB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.7581, allocations: 1.173 MB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.7582, allocations: 1.562 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.7583, allocations: 17.31 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.7584, allocations: 12.55 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.7588, allocations: 150.2 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.7591, allocations: 345.5 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.7593, allocations: 70.19 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.7594, allocations: 154.6 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.7596, allocations: 139.9 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.7597, allocations: 33 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.7598, allocations: 46.84 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.7599, allocations: 49 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.76, allocations: 138.4 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.7604, allocations: 399.1 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7604, allocations: 0 / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7604, allocations: 0 / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7604, allocations: 0.9375 kB / 1.275 GB, free: 5.691 MB / 0.9981 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.0006844/0.7611, allocations: 0.5856 MB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7611, allocations: 9.594 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.7612, allocations: 46.42 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.7612, allocations: 30.78 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.7615, allocations: 292.1 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.7616, allocations: 17.53 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.7616, allocations: 24 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.7619, allocations: 181.5 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7619, allocations: 4.875 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7619, allocations: 4.906 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7619, allocations: 3.156 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.7621, allocations: 147 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.7629, allocations: 0.6685 MB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.7631, allocations: 116.4 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.7632, allocations: 79.66 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.7632, allocations: 1.25 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.7634, allocations: 180.9 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.7634, allocations: 0 / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004803/0.7639, allocations: 297.9 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.7639, allocations: 55.09 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.764, allocations: 189.7 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.7641, allocations: 36.92 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.7642, allocations: 136.8 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.7642, allocations: 39.73 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.7643, allocations: 88.17 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.7644, allocations: 329.1 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.7647, allocations: 220.9 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.7651, allocations: 279.3 kB / 1.279 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.7655, allocations: 396.2 kB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7655, allocations: 0.6875 kB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009186/0.7664, allocations: 0.6456 MB / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.7665, allocations: 99.06 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7665, allocations: 2.219 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7665, allocations: 3.078 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.7666, allocations: 14.88 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7666, allocations: 4.391 kB / 1.28 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.7671, allocations: 108.7 kB / 1.28 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.7672, allocations: 21.28 kB / 1.28 GB, free: 2.461 MB / 0.9981 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.0001322/0.7673, allocations: 168.4 kB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.7673, allocations: 15.5 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.7676, allocations: 238 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7677, allocations: 0 / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7677, allocations: 1.594 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.7677, allocations: 1.172 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.7678, allocations: 274.7 kB / 1.281 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.7678, allocations: 0 / 1.281 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.7679, allocations: 17.69 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7679, allocations: 3.984 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.7679, allocations: 6.75 kB / 1.281 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.7679, allocations: 1.297 kB / 1.281 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7679, allocations: 5.031 kB / 1.281 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.7682, allocations: 253.8 kB / 1.281 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.7682, allocations: 90.28 kB / 1.281 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.7682, allocations: 6.578 kB / 1.281 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.7683, allocations: 3.969 kB / 1.281 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.7683, allocations: 17.75 kB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7683, allocations: 9.094 kB / 1.281 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.7684, allocations: 143.9 kB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7684, allocations: 0 / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002881/0.7687, allocations: 68.02 kB / 1.281 GB, free: 1.609 MB / 0.9981 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.0004249/0.7691, allocations: 0.7904 MB / 1.282 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005782/0.7697, allocations: 0.5206 MB / 1.283 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7697, allocations: 0 / 1.283 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.7698, allocations: 89.16 kB / 1.283 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.7701, allocations: 33.77 kB / 1.283 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.7736, allocations: 3.169 MB / 1.286 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.774, allocations: 0.7475 MB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.205e-05/0.774, allocations: 32.59 kB / 1.286 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.7741, allocations: 48.28 kB / 1.287 GB, free: 13.98 MB / 1.014 GB Notification: Performance of SimCode: time 9.31e-07/0.7741, allocations: 0 / 1.287 GB, free: 13.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.8016, allocations: 5.691 MB / 1.292 GB, free: 13.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.942, allocations: 3.047 kB / 1.292 GB, free: 13.31 MB / 1.014 GB " [Timeout remaining time 292] (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) [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: 13.154174612000133]