Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001554/0.001554, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001824/0.001824, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.403/3.403, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="cs",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.002088/0.002088, allocations: 66.88 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4545, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.003238/0.4577, allocations: 0.8406 MB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.4603, allocations: 1.198 MB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.4605, allocations: 7.938 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.4607, allocations: 15.86 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.4609, allocations: 15.92 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.4616, allocations: 156.7 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.4622, allocations: 347.3 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.4625, allocations: 66.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.4627, allocations: 143.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.4631, allocations: 143.6 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.4631, allocations: 32 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.4633, allocations: 51.98 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.4634, allocations: 55.77 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.4637, allocations: 135.5 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.4644, allocations: 395.1 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.4644, allocations: 0 / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.897e-06/0.4644, allocations: 0 / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4644, allocations: 0 / 1.33 GB, free: 14.41 MB / 1.029 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.001354/0.4657, allocations: 0.5102 MB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.4658, allocations: 12.03 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.514e-05/0.4658, allocations: 8.172 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.4659, allocations: 50.69 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.466, allocations: 28.83 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.4665, allocations: 222.9 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.4666, allocations: 16.38 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.4666, allocations: 32.25 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.467, allocations: 185.9 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.467, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4671, allocations: 11.98 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4671, allocations: 8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.4674, allocations: 143.9 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4687, allocations: 0.6357 MB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.4689, allocations: 126.4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.469, allocations: 68.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.4691, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.4694, allocations: 183.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.4694, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006543/0.4701, allocations: 299.3 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.4701, allocations: 55.41 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4704, allocations: 194.7 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.4704, allocations: 37.7 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4706, allocations: 132.4 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.4707, allocations: 47.62 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.4709, allocations: 89.66 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.4711, allocations: 322.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.4715, allocations: 219.8 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.472, allocations: 288.6 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.4725, allocations: 398.3 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4725, allocations: 7.938 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001039/0.4736, allocations: 0.6271 MB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.383e-05/0.4737, allocations: 97.09 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.4737, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.4737, allocations: 4.219 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4739, allocations: 23.92 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4739, allocations: 4 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.4744, allocations: 99.81 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.4744, allocations: 19.98 kB / 1.335 GB, free: 8.941 MB / 1.029 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.000222/0.4747, allocations: 174.2 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.4747, allocations: 15.91 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.4751, allocations: 227.4 kB / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4751, allocations: 0 / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4751, allocations: 4 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4751, allocations: 0 / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.4754, allocations: 248.5 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4754, allocations: 3.938 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.4755, allocations: 19.92 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4755, allocations: 0 / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4755, allocations: 8 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4755, allocations: 0 / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4755, allocations: 0 / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.4759, allocations: 250.6 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.4759, allocations: 15.91 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.476, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.476, allocations: 15.94 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.4761, allocations: 19.97 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4761, allocations: 7.938 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001217/0.4762, allocations: 140.2 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4762, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003293/0.4765, allocations: 67.89 kB / 1.336 GB, free: 7.668 MB / 1.029 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.0007456/0.4773, allocations: 0.7958 MB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007628/0.478, allocations: 0.5096 MB / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.478, allocations: 0 / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4782, allocations: 87.88 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4785, allocations: 36.41 kB / 1.338 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.4828, allocations: 3.18 MB / 1.341 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4833, allocations: 0.7513 MB / 1.342 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.4834, allocations: 29.41 kB / 1.342 GB, free: 2.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.4834, allocations: 47.42 kB / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4835, allocations: 0 / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.5122, allocations: 5.912 MB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.3, allocations: 9.547 kB / 1.347 GB, free: 12.27 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.708387758000754] Failed to read output from testmodel.py, exit status != 0: 12.472782957018353 12.501411421 12.031560895 Calling exit ...