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.001589/0.001589, allocations: 110.4 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.001771/0.001771, allocations: 220.3 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.953 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.787/2.787, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 177] 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.002078/0.002078, allocations: 64.78 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3889, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002285/0.3912, allocations: 0.8434 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.393, allocations: 1.196 MB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.3931, allocations: 7.938 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3932, allocations: 11.86 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3933, allocations: 15.92 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.3938, allocations: 146.6 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000493/0.3943, allocations: 355.3 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3945, allocations: 64.81 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3947, allocations: 155.7 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.395, allocations: 139.6 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.395, allocations: 32 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3952, allocations: 59.86 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.3953, allocations: 43.91 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3954, allocations: 135.5 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.396, allocations: 399.5 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.396, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.396, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.396, allocations: 0 / 1.287 GB, free: 8.094 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.001032/0.397, allocations: 0.5103 MB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3971, allocations: 8.031 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.3971, allocations: 54.67 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.3972, allocations: 24.84 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3977, allocations: 230.9 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.3977, allocations: 12.38 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.3978, allocations: 28.31 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.3982, allocations: 179.4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3982, allocations: 3.938 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3982, allocations: 12 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3982, allocations: 7.938 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.3986, allocations: 143.9 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3998, allocations: 0.6475 MB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.4, allocations: 118.5 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4001, allocations: 72.73 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4001, allocations: 4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.4004, allocations: 179.3 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.4004, allocations: 0 / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005832/0.401, allocations: 299.3 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.4011, allocations: 55.41 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.4013, allocations: 190.2 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.4013, allocations: 33.7 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4015, allocations: 136.5 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.4015, allocations: 43.64 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.4017, allocations: 89.66 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4018, allocations: 326.8 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.4022, allocations: 223.7 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.4026, allocations: 282.6 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.4032, allocations: 394 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4032, allocations: 4 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001021/0.4042, allocations: 0.6309 MB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.4043, allocations: 97.09 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4043, allocations: 3.938 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4043, allocations: 4 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4045, allocations: 23.91 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4045, allocations: 4.219 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.405, allocations: 107.8 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.405, allocations: 19.98 kB / 1.292 GB, free: 2.641 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.0001935/0.4052, allocations: 176.8 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4052, allocations: 19.91 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.4056, allocations: 223.4 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4056, allocations: 0 / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.4056, allocations: 4 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4056, allocations: 0 / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.4059, allocations: 248.5 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4059, allocations: 3.938 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.406, allocations: 15.92 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.406, allocations: 0 / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.406, allocations: 12 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.406, allocations: 0 / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.406, allocations: 0 / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.4064, allocations: 251.9 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.4064, allocations: 19.84 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4064, allocations: 4 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.4065, allocations: 11.92 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.4066, allocations: 11.98 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4066, allocations: 8 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001323/0.4067, allocations: 140.2 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4067, allocations: 0 / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003097/0.407, allocations: 67.89 kB / 1.293 GB, free: 1.375 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.000756/0.4078, allocations: 0.7918 MB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007614/0.4085, allocations: 0.5096 MB / 1.294 GB, free: 8 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4085, allocations: 0 / 1.294 GB, free: 8 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4087, allocations: 87.88 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.409, allocations: 42.56 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.4132, allocations: 3.184 MB / 1.298 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.4136, allocations: 0.7474 MB / 1.298 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.592e-05/0.4137, allocations: 29.41 kB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.4138, allocations: 47.42 kB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/0.4138, allocations: 0 / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.4515, allocations: 5.878 MB / 1.304 GB, free: 6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.75, allocations: 4.266 kB / 1.304 GB, free: 6 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 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.csv","/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] "Error: Could not read variable conCom.y1[1] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.642900965998706]