Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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.2 kB / 17.17 MB, free: 6 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.001417/0.001417, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.11/3.11, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",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.002016/0.002016, allocations: 59.91 kB / 1.149 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002017/1.011, allocations: 0.9445 MB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001545/1.012, allocations: 1.435 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/1.012, allocations: 2.594 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003201/1.013, allocations: 78 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/1.013, allocations: 54.69 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/1.014, allocations: 323.6 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/1.014, allocations: 447.6 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/1.014, allocations: 43.66 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/1.014, allocations: 165.6 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/1.014, allocations: 177.9 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/1.015, allocations: 42.34 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/1.015, allocations: 58.28 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.015, allocations: 86.09 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/1.015, allocations: 148.1 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/1.015, allocations: 434.3 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.015, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.462e-06/1.015, allocations: 3.938 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.015, allocations: 0 / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008067/1.016, allocations: 0.6547 MB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.016, allocations: 18.95 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.658e-05/1.016, allocations: 8.188 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/1.016, allocations: 47.77 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/1.016, allocations: 31.92 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/1.017, allocations: 307.9 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/1.017, allocations: 15.69 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/1.017, allocations: 26.56 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/1.017, allocations: 195.7 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.017, allocations: 4 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.017, allocations: 2.812 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.017, allocations: 1.906 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/1.017, allocations: 121.9 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/1.018, allocations: 0.6189 MB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.019, allocations: 204.8 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/1.019, allocations: 131 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/1.019, allocations: 0.9688 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/1.019, allocations: 228.2 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.714e-06/1.019, allocations: 0 / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0008406/1.02, allocations: 0.517 MB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.02, allocations: 126.2 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/1.021, allocations: 251.3 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/1.021, allocations: 38.06 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/1.021, allocations: 130.5 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/1.021, allocations: 54.73 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.021, allocations: 105 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/1.021, allocations: 345.3 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/1.021, allocations: 165.2 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/1.022, allocations: 294.2 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/1.022, allocations: 498.1 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.022, allocations: 1.219 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008581/1.023, allocations: 0.5877 MB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/1.023, allocations: 142.9 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.023, allocations: 2.969 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.023, allocations: 8.281 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.023, allocations: 25.83 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.023, allocations: 8.656 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/1.024, allocations: 87.94 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/1.024, allocations: 24.69 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0002155/1.024, allocations: 243.7 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/1.024, allocations: 27.41 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/1.024, allocations: 30.33 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.024, allocations: 2.531 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.024, allocations: 1.438 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.024, allocations: 5.391 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/1.026, allocations: 0.8568 MB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.026, allocations: 0 / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/1.026, allocations: 12 kB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.026, allocations: 0 / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.026, allocations: 16.52 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.026, allocations: 1.25 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.026, allocations: 3.938 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/1.026, allocations: 0.5402 MB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/1.026, allocations: 100.2 kB / 1.333 GB, free: 17.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/1.026, allocations: 23.41 kB / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.027, allocations: 11.22 kB / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.027, allocations: 49.47 kB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/1.027, allocations: 16.38 kB / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001892/1.027, allocations: 174.5 kB / 1.334 GB, free: 17.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.027, allocations: 0 / 1.334 GB, free: 17.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004642/1.027, allocations: 82.67 kB / 1.334 GB, free: 17.02 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.001217/1.029, allocations: 1.12 MB / 1.335 GB, free: 16.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000919/1.03, allocations: 0.6127 MB / 1.335 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.03, allocations: 0.625 kB / 1.335 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/1.03, allocations: 287.8 kB / 1.336 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/1.03, allocations: 53.39 kB / 1.336 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/1.034, allocations: 3.475 MB / 1.339 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/1.035, allocations: 0.7478 MB / 1.34 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001396/1.035, allocations: 40.75 kB / 1.34 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/1.035, allocations: 66.86 kB / 1.34 GB, free: 12.65 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/1.035, allocations: 0 / 1.34 GB, free: 12.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.062, allocations: 7.108 MB / 1.347 GB, free: 11.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.181/10.24, allocations: 10.25 kB / 1.347 GB, free: 11.87 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.801451017032377] Failed to read output from testmodel.py, exit status != 0: 10.369806244969368 10.384777985 9.366668743 Calling exit ...