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.001422/0.001422, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001488/0.001488, allocations: 212 kB / 20.13 MB, free: 2.949 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.105/3.105, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.002732/0.002732, allocations: 71.84 kB / 1.15 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244/1.247, allocations: 176.1 MB / 1.321 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.003121/1.25, allocations: 0.832 MB / 1.322 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003179/1.253, allocations: 1.215 MB / 1.323 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/1.253, allocations: 1.031 kB / 1.323 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/1.253, allocations: 13.05 kB / 1.323 GB, free: 6.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/1.253, allocations: 11.41 kB / 1.323 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/1.254, allocations: 155.4 kB / 1.324 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/1.255, allocations: 345.5 kB / 1.324 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/1.255, allocations: 84.78 kB / 1.324 GB, free: 5.688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/1.256, allocations: 152.3 kB / 1.324 GB, free: 5.613 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/1.256, allocations: 141.3 kB / 1.324 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/1.256, allocations: 33.03 kB / 1.324 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/1.256, allocations: 47.45 kB / 1.324 GB, free: 5.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/1.256, allocations: 47.78 kB / 1.324 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/1.257, allocations: 140.1 kB / 1.325 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007183/1.257, allocations: 395.4 kB / 1.325 GB, free: 5.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.257, allocations: 4 kB / 1.325 GB, free: 5.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.055e-06/1.257, allocations: 0 / 1.325 GB, free: 5.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.257, allocations: 0 / 1.325 GB, free: 5.102 MB / 1.014 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.001342/1.259, allocations: 0.5819 MB / 1.326 GB, free: 4.535 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.963e-05/1.259, allocations: 17.34 kB / 1.326 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.77e-05/1.259, allocations: 3.094 kB / 1.326 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.85e-05/1.259, allocations: 44.56 kB / 1.326 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/1.259, allocations: 27.83 kB / 1.326 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/1.26, allocations: 284.5 kB / 1.326 GB, free: 4.203 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/1.26, allocations: 16.31 kB / 1.326 GB, free: 4.199 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/1.26, allocations: 30.52 kB / 1.326 GB, free: 4.188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/1.26, allocations: 180.6 kB / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.26, allocations: 0 / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/1.26, allocations: 1.188 kB / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.26, allocations: 3.688 kB / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/1.261, allocations: 152.5 kB / 1.326 GB, free: 3.996 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/1.262, allocations: 0.6645 MB / 1.327 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/1.262, allocations: 120.3 kB / 1.327 GB, free: 3.375 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/1.263, allocations: 76.17 kB / 1.327 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/1.263, allocations: 6.125 kB / 1.327 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/1.263, allocations: 173.7 kB / 1.327 GB, free: 3.207 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/1.263, allocations: 0 / 1.327 GB, free: 3.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0008493/1.264, allocations: 299.9 kB / 1.328 GB, free: 3.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/1.264, allocations: 54.09 kB / 1.328 GB, free: 2.988 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/1.264, allocations: 194.6 kB / 1.328 GB, free: 2.836 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/1.264, allocations: 40.52 kB / 1.328 GB, free: 2.797 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.264, allocations: 137.9 kB / 1.328 GB, free: 2.672 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/1.265, allocations: 42.11 kB / 1.328 GB, free: 2.637 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.265, allocations: 86.42 kB / 1.328 GB, free: 2.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002145/1.265, allocations: 328.2 kB / 1.328 GB, free: 2.266 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/1.265, allocations: 226.9 kB / 1.329 GB, free: 2.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/1.266, allocations: 274.3 kB / 1.329 GB, free: 1.977 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/1.267, allocations: 392.8 kB / 1.329 GB, free: 1.684 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.267, allocations: 3.938 kB / 1.329 GB, free: 1.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001283/1.268, allocations: 0.6525 MB / 1.33 GB, free: 1.285 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.268, allocations: 91.34 kB / 1.33 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.268, allocations: 2.062 kB / 1.33 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/1.268, allocations: 3.125 kB / 1.33 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/1.268, allocations: 20.17 kB / 1.33 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.268, allocations: 6.406 kB / 1.33 GB, free: 1.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/1.269, allocations: 106.6 kB / 1.33 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/1.269, allocations: 23.11 kB / 1.33 GB, free: 1.121 MB / 1.014 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.0002701/1.269, allocations: 162.6 kB / 1.33 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/1.269, allocations: 17.39 kB / 1.33 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/1.27, allocations: 237.1 kB / 1.331 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.27, allocations: 5.359 kB / 1.331 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.27, allocations: 1.375 kB / 1.331 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.27, allocations: 0 / 1.331 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/1.27, allocations: 269.7 kB / 1.331 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.27, allocations: 0 / 1.331 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/1.27, allocations: 13.61 kB / 1.331 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.27, allocations: 0 / 1.331 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.27, allocations: 2.75 kB / 1.331 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.27, allocations: 0 / 1.331 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.27, allocations: 9.359 kB / 1.331 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/1.271, allocations: 254.7 kB / 1.331 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/1.271, allocations: 89.55 kB / 1.331 GB, free: 292 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/1.271, allocations: 1.406 kB / 1.331 GB, free: 292 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/1.271, allocations: 6.453 kB / 1.331 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.271, allocations: 14.45 kB / 1.331 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/1.271, allocations: 13.17 kB / 1.331 GB, free: 272 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001763/1.271, allocations: 142.7 kB / 1.331 GB, free: 160 kB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.271, allocations: 0 / 1.331 GB, free: 160 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004352/1.272, allocations: 72.45 kB / 1.331 GB, free: 144 kB / 1.014 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.0009069/1.273, allocations: 0.7936 MB / 1.332 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009177/1.273, allocations: 0.5247 MB / 1.333 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.273, allocations: 0 / 1.333 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/1.274, allocations: 88 kB / 1.333 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/1.274, allocations: 42.69 kB / 1.333 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/1.279, allocations: 3.17 MB / 1.336 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/1.279, allocations: 0.7414 MB / 1.337 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001219/1.279, allocations: 33.06 kB / 1.337 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.279, allocations: 51.17 kB / 1.337 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/1.279, allocations: 0 / 1.337 GB, free: 11.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/1.305, allocations: 5.739 MB / 1.342 GB, free: 9.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.165/10.47, allocations: 18.56 kB / 1.342 GB, free: 9.055 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.2114748180029] Failed to read output from testmodel.py, exit status != 0: 10.599829429993406 10.613482415 9.352991367 Calling exit ...