Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001784/0.001784, allocations: 110.6 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.00256/0.00256, allocations: 220.1 kB / 22.26 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.965 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.419/3.419, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_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.002603/0.002603, allocations: 66.94 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4316, allocations: 180.2 MB / 1.353 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.003825/0.4354, allocations: 0.8414 MB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.4383, allocations: 1.21 MB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.4384, allocations: 0 / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.4386, allocations: 19.86 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.4388, allocations: 15.86 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.4396, allocations: 148.9 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.4404, allocations: 343.4 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.4407, allocations: 75 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.441, allocations: 151.7 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.4414, allocations: 143.6 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.4415, allocations: 32 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.4417, allocations: 43.98 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4418, allocations: 47.84 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.4421, allocations: 135.5 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.4428, allocations: 394.8 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4428, allocations: 0 / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.708e-06/0.4428, allocations: 4 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.4428, allocations: 0 / 1.356 GB, free: 4.941 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001329/0.4441, allocations: 0.5181 MB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4442, allocations: 8.031 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.4443, allocations: 46.73 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.4444, allocations: 28.8 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.4451, allocations: 228 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.4451, allocations: 24.31 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4452, allocations: 24.38 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.4458, allocations: 182.1 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4458, allocations: 7.938 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.4458, allocations: 8 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4458, allocations: 3.938 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.4463, allocations: 143.9 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.448, allocations: 0.6358 MB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.4483, allocations: 130.4 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4485, allocations: 72.73 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.4485, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.4489, allocations: 171.2 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.4489, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0008788/0.4498, allocations: 299.2 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.4499, allocations: 59.41 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.4502, allocations: 190.5 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.4502, allocations: 37.7 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.4504, allocations: 140.4 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.4505, allocations: 35.69 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.4507, allocations: 89.66 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.451, allocations: 326.8 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.4516, allocations: 219.8 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.4523, allocations: 281.1 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.4531, allocations: 401.5 kB / 1.36 GB, free: 428 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4532, allocations: 3.938 kB / 1.36 GB, free: 424 kB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00151/0.4547, allocations: 0.6387 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4548, allocations: 94.88 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4548, allocations: 8 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4548, allocations: 4 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.455, allocations: 23.92 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.455, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.4557, allocations: 103.8 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.4558, allocations: 27.98 kB / 1.361 GB, free: 15.48 MB / 1.061 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.0002708/0.4561, allocations: 169.6 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.4561, allocations: 11.91 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.4567, allocations: 235.3 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4568, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4568, allocations: 4 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4568, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.4571, allocations: 252.5 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4571, allocations: 3.938 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.4572, allocations: 19.92 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4572, allocations: 0 / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4572, allocations: 8 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4572, allocations: 0 / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4572, allocations: 0 / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.4577, allocations: 250.6 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4577, allocations: 7.953 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.4578, allocations: 8 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.4578, allocations: 7.984 kB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.4579, allocations: 15.98 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4579, allocations: 4 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001295/0.458, allocations: 143.2 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.458, allocations: 0 / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003082/0.4583, allocations: 67.89 kB / 1.362 GB, free: 14.21 MB / 1.061 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.000716/0.4591, allocations: 0.7879 MB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007733/0.4598, allocations: 0.5159 MB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4598, allocations: 0 / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.46, allocations: 87.88 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4603, allocations: 46.2 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.4644, allocations: 3.176 MB / 1.367 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4648, allocations: 0.7474 MB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.495e-05/0.4649, allocations: 29.41 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.4649, allocations: 47.42 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4649, allocations: 0 / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.4986, allocations: 5.892 MB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.83, allocations: 5.281 kB / 1.374 GB, free: 2.809 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conCom.y1[1] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.054046371999902]