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.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.001794/0.001795, allocations: 110.3 kB / 16.4 MB, free: 6.445 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.002058/0.002058, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.431/1.431, allocations: 222.9 MB / 245.1 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 489 MB / 0.7678 GB, free: 4.113 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.101 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 163.8 MB / 1.261 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002042/1.011, allocations: 0.8242 MB / 1.262 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001439/1.013, allocations: 1.178 MB / 1.263 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/1.013, allocations: 1.719 kB / 1.263 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/1.013, allocations: 11.8 kB / 1.263 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/1.013, allocations: 15.86 kB / 1.263 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/1.014, allocations: 145.5 kB / 1.263 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/1.014, allocations: 365 kB / 1.263 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/1.014, allocations: 110 kB / 1.264 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/1.015, allocations: 153.3 kB / 1.264 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/1.015, allocations: 143.5 kB / 1.264 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/1.015, allocations: 33.09 kB / 1.264 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/1.015, allocations: 46.86 kB / 1.264 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/1.015, allocations: 41.62 kB / 1.264 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/1.015, allocations: 140 kB / 1.264 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/1.016, allocations: 400.2 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.016, allocations: 0.75 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.016, allocations: 0 / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.016, allocations: 1.031 kB / 1.265 GB, free: 5.852 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.0007722/1.017, allocations: 0.5862 MB / 1.265 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.017, allocations: 9.719 kB / 1.265 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/1.017, allocations: 47.78 kB / 1.265 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/1.017, allocations: 29.02 kB / 1.265 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/1.017, allocations: 285 kB / 1.265 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/1.017, allocations: 21.59 kB / 1.265 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/1.018, allocations: 27.91 kB / 1.265 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/1.018, allocations: 177 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.018, allocations: 9 kB / 1.266 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/1.018, allocations: 9.578 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.018, allocations: 3.75 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/1.018, allocations: 149.5 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.019, allocations: 0.6559 MB / 1.266 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/1.019, allocations: 126.2 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/1.02, allocations: 85.48 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/1.02, allocations: 2.344 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/1.02, allocations: 173.9 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/1.02, allocations: 0 / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005724/1.02, allocations: 295.3 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.021, allocations: 60.25 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.021, allocations: 197.1 kB / 1.267 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/1.021, allocations: 37.97 kB / 1.267 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/1.021, allocations: 135.7 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/1.021, allocations: 37.53 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.021, allocations: 83.78 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/1.021, allocations: 329.5 kB / 1.268 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/1.022, allocations: 220.2 kB / 1.268 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/1.022, allocations: 280 kB / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/1.022, allocations: 395 kB / 1.269 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.022, allocations: 1 kB / 1.269 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009356/1.023, allocations: 0.6266 MB / 1.269 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/1.023, allocations: 96.11 kB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.023, allocations: 10.41 kB / 1.27 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.023, allocations: 2.656 kB / 1.27 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.024, allocations: 16.55 kB / 1.27 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.024, allocations: 7.312 kB / 1.27 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/1.024, allocations: 103.8 kB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/1.024, allocations: 23.45 kB / 1.27 GB, free: 2.617 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.0001425/1.024, allocations: 167.5 kB / 1.27 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/1.024, allocations: 14.94 kB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/1.025, allocations: 234.4 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.025, allocations: 1.656 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.025, allocations: 3.516 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.025, allocations: 0 / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/1.025, allocations: 279.4 kB / 1.27 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.025, allocations: 3.938 kB / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/1.025, allocations: 11.62 kB / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.025, allocations: 5.328 kB / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.025, allocations: 5.281 kB / 1.27 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.025, allocations: 4.609 kB / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.025, allocations: 1.156 kB / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/1.025, allocations: 249.6 kB / 1.271 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/1.026, allocations: 93.27 kB / 1.271 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.026, allocations: 7.25 kB / 1.271 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/1.026, allocations: 5.922 kB / 1.271 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/1.026, allocations: 16.11 kB / 1.271 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.026, allocations: 4.062 kB / 1.271 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.122e-05/1.026, allocations: 135.2 kB / 1.271 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.026, allocations: 4.938 kB / 1.271 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003321/1.026, allocations: 65.23 kB / 1.271 GB, free: 1.781 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.0005356/1.027, allocations: 0.7984 MB / 1.272 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007322/1.027, allocations: 0.5612 MB / 1.272 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.027, allocations: 0 / 1.272 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/1.028, allocations: 97.47 kB / 1.272 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/1.028, allocations: 36.38 kB / 1.272 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/1.032, allocations: 3.157 MB / 1.275 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/1.032, allocations: 0.7508 MB / 1.276 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.702e-05/1.032, allocations: 28.94 kB / 1.276 GB, free: 14.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/1.032, allocations: 52.52 kB / 1.276 GB, free: 14.11 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.032, allocations: 0 / 1.276 GB, free: 14.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/1.064, allocations: 5.693 MB / 1.282 GB, free: 13.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.648, allocations: 7.406 kB / 1.282 GB, free: 13.46 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 15.825946430908516]