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.001329/0.001329, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001513/0.001513, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.291/3.291, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002086/0.002086, allocations: 65.66 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4354, allocations: 176.1 MB / 1.327 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002702/0.4381, allocations: 0.8096 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.4401, allocations: 1.186 MB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.4403, allocations: 3.938 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.4404, allocations: 19.86 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.4406, allocations: 7.922 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.4412, allocations: 150.8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.4418, allocations: 347.4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.442, allocations: 66.78 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.4423, allocations: 147.7 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.4426, allocations: 147.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4427, allocations: 32 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.4429, allocations: 51.92 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.443, allocations: 39.86 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.4432, allocations: 127.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.4438, allocations: 395.1 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4438, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4438, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.4438, allocations: 3.938 kB / 1.33 GB, free: 14.05 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.001186/0.445, allocations: 0.5072 MB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.445, allocations: 8.031 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.4451, allocations: 4.188 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.4451, allocations: 50.67 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4452, allocations: 28.84 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.4457, allocations: 223.6 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.4457, allocations: 16.36 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.4458, allocations: 32.31 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.4462, allocations: 181.9 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4462, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4462, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4462, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.4465, allocations: 147.9 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4476, allocations: 0.5773 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.4478, allocations: 122.4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.448, allocations: 68.8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.448, allocations: 8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.4483, allocations: 175.4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.4483, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005887/0.4489, allocations: 299.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4489, allocations: 59.39 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.4491, allocations: 190.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.4492, allocations: 37.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4493, allocations: 132.4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.4494, allocations: 51.64 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.4496, allocations: 85.66 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4497, allocations: 330.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.4502, allocations: 320.9 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.4507, allocations: 383.7 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.4513, allocations: 401.3 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4513, allocations: 7.938 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001112/0.4524, allocations: 0.7273 MB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.4525, allocations: 98.66 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4525, allocations: 4 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4525, allocations: 0 / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.4526, allocations: 19.92 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4526, allocations: 4.219 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.4532, allocations: 111.8 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.4532, allocations: 15.98 kB / 1.335 GB, free: 8.309 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.0002112/0.4534, allocations: 174.2 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.4535, allocations: 19.91 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.4539, allocations: 227.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4539, allocations: 0 / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4539, allocations: 0 / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4539, allocations: 3.984 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.4542, allocations: 240.5 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4542, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.4542, allocations: 12 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4542, allocations: 0 / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4543, allocations: 7.984 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4543, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4543, allocations: 4 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.4547, allocations: 251.2 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4547, allocations: 15.91 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.4547, allocations: 11.92 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.4548, allocations: 7.938 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.4549, allocations: 15.97 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4549, allocations: 12 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001237/0.455, allocations: 128.2 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.455, allocations: 0 / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003245/0.4553, allocations: 75.88 kB / 1.336 GB, free: 7.047 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.0007697/0.4561, allocations: 0.7957 MB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.4572, allocations: 0.6122 MB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4572, allocations: 0 / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4574, allocations: 90.41 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4579, allocations: 48.23 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007197/0.4651, allocations: 3.577 MB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.4653, allocations: 135.9 kB / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.4655, allocations: 33.41 kB / 1.342 GB, free: 1.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.4656, allocations: 47.42 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of SimCode: time 1.262e-06/0.4656, allocations: 0 / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.5048, allocations: 6.181 MB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.6, allocations: 9.422 kB / 1.348 GB, free: 11.44 MB / 1.045 GB " [Timeout remaining time 287] (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.758408564026468] Failed to read output from testmodel.py, exit status != 0: 12.771925815031864 12.799578486 12.350859651 Calling exit ...