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.001786/0.001786, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002274/0.002274, allocations: 211.2 kB / 22.24 MB, free: 5.242 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.793 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.403/3.403, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002091/0.002091, allocations: 66.92 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4302, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002773/0.433, allocations: 0.8284 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.4351, allocations: 1.179 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.4352, allocations: 3.938 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.4354, allocations: 19.86 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.4355, allocations: 11.92 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.4362, allocations: 150.4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.4368, allocations: 351.3 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.4371, allocations: 67 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.4373, allocations: 155.7 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.4377, allocations: 151.6 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4378, allocations: 36 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.438, allocations: 43.98 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.4381, allocations: 43.91 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.4384, allocations: 119.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.439, allocations: 398.8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.439, allocations: 4 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.439, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.439, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 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.001143/0.4402, allocations: 0.5025 MB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4402, allocations: 8.031 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.46e-05/0.4403, allocations: 50.67 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.4404, allocations: 28.8 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.4409, allocations: 230.9 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.441, allocations: 24.36 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.441, allocations: 28.31 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.4414, allocations: 190.6 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4414, allocations: 3.938 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4414, allocations: 11.98 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4414, allocations: 0 / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.4417, allocations: 143.9 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4428, allocations: 0.5696 MB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.443, allocations: 118.4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4431, allocations: 76.73 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.4432, allocations: 8 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.4435, allocations: 171.4 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.4435, allocations: 3.938 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0006823/0.4442, allocations: 299.6 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.4443, allocations: 59.41 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4445, allocations: 186.5 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.4446, allocations: 33.7 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4448, allocations: 136.4 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4448, allocations: 35.69 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.445, allocations: 97.66 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4452, allocations: 322.8 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.4457, allocations: 320.9 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.4462, allocations: 384.8 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.4467, allocations: 397.5 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4467, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001158/0.4479, allocations: 0.7396 MB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/0.448, allocations: 93.09 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.448, allocations: 3.984 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.448, allocations: 7.938 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4481, allocations: 19.94 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4481, allocations: 4 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.4487, allocations: 104 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.4487, allocations: 23.98 kB / 1.372 GB, free: 4.816 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.0002258/0.4489, allocations: 171.9 kB / 1.372 GB, free: 4.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.449, allocations: 15.91 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.4494, allocations: 235.3 kB / 1.372 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4494, allocations: 4 kB / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4494, allocations: 0 / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4494, allocations: 3.984 kB / 1.372 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.4497, allocations: 232.5 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4497, allocations: 0 / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.4498, allocations: 23.86 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4498, allocations: 0 / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.4498, allocations: 4 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4498, allocations: 4 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4498, allocations: 4 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.4502, allocations: 244.8 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.4502, allocations: 19.89 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4502, allocations: 4 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.4503, allocations: 4 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.4503, allocations: 15.97 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4503, allocations: 4 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001361/0.4505, allocations: 148.2 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4505, allocations: 0 / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003193/0.4508, allocations: 71.88 kB / 1.373 GB, free: 3.551 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.0007487/0.4515, allocations: 0.7903 MB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009079/0.4524, allocations: 0.6229 MB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4524, allocations: 0 / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.4526, allocations: 87.88 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.4529, allocations: 40.41 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.4577, allocations: 3.572 MB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.4578, allocations: 139.8 kB / 1.378 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.506e-05/0.4579, allocations: 33.41 kB / 1.378 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.458, allocations: 47.42 kB / 1.378 GB, free: 13.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.458, allocations: 0 / 1.378 GB, free: 13.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.4954, allocations: 6.574 MB / 1.385 GB, free: 7.531 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.26, allocations: 1.312 kB / 1.385 GB, free: 7.531 MB / 1.076 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.573920741211623]