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.001318/0.001318, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001416/0.001416, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.971/2.971, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_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.002037/0.002037, allocations: 63.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237/1.239, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002611/1.242, allocations: 0.8265 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002195/1.244, allocations: 1.209 MB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/1.244, allocations: 6.094 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/1.244, allocations: 13.64 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/1.244, allocations: 15.61 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/1.245, allocations: 147.8 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005895/1.246, allocations: 344.5 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/1.246, allocations: 92.23 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/1.246, allocations: 144 kB / 1.282 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/1.247, allocations: 151.5 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/1.247, allocations: 33.03 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/1.247, allocations: 50.84 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/1.247, allocations: 45.81 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/1.247, allocations: 139.6 kB / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006925/1.248, allocations: 392.8 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.248, allocations: 4.453 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/1.248, allocations: 1.312 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.248, allocations: 0 / 1.282 GB, free: 9.688 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.001141/1.249, allocations: 0.5907 MB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.249, allocations: 9.266 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.956e-05/1.249, allocations: 4.188 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/1.249, allocations: 46.48 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/1.249, allocations: 29.94 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/1.25, allocations: 281.1 kB / 1.283 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/1.25, allocations: 21.27 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/1.25, allocations: 32.03 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/1.25, allocations: 185.2 kB / 1.284 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.25, allocations: 0 / 1.284 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/1.25, allocations: 5.953 kB / 1.284 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/1.25, allocations: 3.938 kB / 1.284 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/1.251, allocations: 145.6 kB / 1.284 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.252, allocations: 0.658 MB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/1.252, allocations: 130.4 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/1.252, allocations: 67.16 kB / 1.285 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/1.252, allocations: 1.781 kB / 1.285 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/1.253, allocations: 178.9 kB / 1.285 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/1.253, allocations: 0 / 1.285 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0006662/1.253, allocations: 298.2 kB / 1.285 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/1.253, allocations: 60.78 kB / 1.285 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/1.254, allocations: 190.1 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/1.254, allocations: 36.38 kB / 1.285 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.254, allocations: 135.9 kB / 1.285 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/1.254, allocations: 49.17 kB / 1.285 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/1.254, allocations: 84.95 kB / 1.286 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.254, allocations: 324.3 kB / 1.286 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/1.255, allocations: 221.9 kB / 1.286 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/1.255, allocations: 285.2 kB / 1.286 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/1.256, allocations: 390.6 kB / 1.287 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.256, allocations: 3.938 kB / 1.287 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001216/1.257, allocations: 0.6281 MB / 1.287 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/1.257, allocations: 101.6 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.257, allocations: 2.656 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.257, allocations: 2.719 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/1.257, allocations: 22.27 kB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.257, allocations: 4.406 kB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/1.258, allocations: 107.5 kB / 1.288 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/1.258, allocations: 23.08 kB / 1.288 GB, free: 6.453 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.0002256/1.258, allocations: 171.3 kB / 1.288 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/1.258, allocations: 14.69 kB / 1.288 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/1.259, allocations: 232.1 kB / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.259, allocations: 2.5 kB / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.259, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.259, allocations: 2.047 kB / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/1.259, allocations: 278.9 kB / 1.288 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.259, allocations: 0 / 1.288 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/1.259, allocations: 12.17 kB / 1.288 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.259, allocations: 1.344 kB / 1.288 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/1.259, allocations: 7.812 kB / 1.288 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.259, allocations: 0 / 1.288 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.259, allocations: 6.125 kB / 1.288 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.26, allocations: 247.7 kB / 1.289 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/1.26, allocations: 92.48 kB / 1.289 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/1.26, allocations: 7.312 kB / 1.289 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/1.26, allocations: 7.766 kB / 1.289 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/1.26, allocations: 16.42 kB / 1.289 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/1.26, allocations: 5.328 kB / 1.289 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001561/1.26, allocations: 135.3 kB / 1.289 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.26, allocations: 5.344 kB / 1.289 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003523/1.26, allocations: 67.95 kB / 1.289 GB, free: 5.613 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.0008768/1.261, allocations: 0.8038 MB / 1.29 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009273/1.262, allocations: 0.5155 MB / 1.29 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.262, allocations: 0 / 1.29 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.262, allocations: 92.89 kB / 1.29 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/1.263, allocations: 41.47 kB / 1.29 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/1.268, allocations: 3.165 MB / 1.293 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/1.268, allocations: 0.7518 MB / 1.294 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001096/1.269, allocations: 27.69 kB / 1.294 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.269, allocations: 47.62 kB / 1.294 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/1.269, allocations: 1.188 kB / 1.294 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/1.297, allocations: 5.763 MB / 1.3 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.07/10.37, allocations: 11.08 kB / 1.3 GB, free: 1.293 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.941046922001988] Failed to read output from testmodel.py, exit status != 0: 10.493811139022 10.508848742 9.257976551 Calling exit ...