Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001232/0.001232, 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.001292/0.001292, 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.861/2.861, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_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.001931/0.001931, allocations: 71.91 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9807/0.9826, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.00204/0.9847, allocations: 0.9461 MB / 1.341 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.9863, allocations: 1.446 MB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.9864, allocations: 2.5 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.9868, allocations: 67.75 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.9869, allocations: 62.41 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.9877, allocations: 325.7 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.9881, allocations: 446.1 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.9882, allocations: 50.56 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.9884, allocations: 170 kB / 1.344 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.9887, allocations: 164.1 kB / 1.344 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.9887, allocations: 35.75 kB / 1.344 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.9889, allocations: 68.19 kB / 1.344 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.989, allocations: 78.14 kB / 1.344 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.9891, allocations: 160.3 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.9896, allocations: 429.8 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9896, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9896, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9896, allocations: 0 / 1.344 GB, free: 13.82 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.0007919/0.9904, allocations: 0.664 MB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9905, allocations: 9.312 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.675e-05/0.9905, allocations: 10.41 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.9905, allocations: 47.31 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.9906, allocations: 35.98 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.991, allocations: 301.8 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.991, allocations: 15.2 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.9911, allocations: 24.47 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.9914, allocations: 189 kB / 1.346 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9914, allocations: 0.7969 kB / 1.346 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.9914, allocations: 7.438 kB / 1.346 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9914, allocations: 2.141 kB / 1.346 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.9916, allocations: 126.6 kB / 1.346 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.9925, allocations: 0.6222 MB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.9929, allocations: 204.3 kB / 1.347 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.9931, allocations: 128.9 kB / 1.347 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.9931, allocations: 1.859 kB / 1.347 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.9934, allocations: 229.1 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.9934, allocations: 1.406 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.000728/0.9941, allocations: 0.5224 MB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.9942, allocations: 121.2 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.9944, allocations: 250.8 kB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.9945, allocations: 38.69 kB / 1.348 GB, free: 11.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.9945, allocations: 130.7 kB / 1.348 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.9946, allocations: 57.77 kB / 1.348 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.9948, allocations: 101.9 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.9948, allocations: 340.8 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.9951, allocations: 161.3 kB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.9954, allocations: 304.2 kB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.9958, allocations: 485.2 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9958, allocations: 1.094 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007805/0.9966, allocations: 0.5959 MB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.9967, allocations: 143.1 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9967, allocations: 2.469 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.9967, allocations: 4.062 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.9968, allocations: 31.02 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9968, allocations: 3.312 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.9974, allocations: 92.34 kB / 1.35 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.9974, allocations: 24.09 kB / 1.35 GB, free: 9.957 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.0001893/0.9976, allocations: 244.8 kB / 1.35 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.9977, allocations: 30.59 kB / 1.35 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.9977, allocations: 22.31 kB / 1.351 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.9977, allocations: 2.469 kB / 1.351 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9977, allocations: 1.734 kB / 1.351 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9977, allocations: 4.547 kB / 1.351 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.9987, allocations: 0.8607 MB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9987, allocations: 1.094 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.9987, allocations: 11.5 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9987, allocations: 0.875 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.9988, allocations: 15.06 kB / 1.351 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9988, allocations: 1.125 kB / 1.351 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9988, allocations: 1.859 kB / 1.351 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.9993, allocations: 0.5347 MB / 1.352 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.9994, allocations: 105 kB / 1.352 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.9994, allocations: 19.56 kB / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.9996, allocations: 11.75 kB / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9997, allocations: 49.94 kB / 1.352 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.9997, allocations: 19.02 kB / 1.352 GB, free: 8.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001386/0.9998, allocations: 178.6 kB / 1.352 GB, free: 8.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9998, allocations: 0 / 1.352 GB, free: 8.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003979/1, allocations: 82.02 kB / 1.352 GB, free: 8.617 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.0008096/1.001, allocations: 1.129 MB / 1.353 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007078/1.002, allocations: 0.6116 MB / 1.354 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.002, allocations: 1.281 kB / 1.354 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/1.002, allocations: 283.7 kB / 1.354 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/1.002, allocations: 65.25 kB / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/1.006, allocations: 3.465 MB / 1.358 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/1.006, allocations: 0.7474 MB / 1.359 GB, free: 4.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001003/1.006, allocations: 41.19 kB / 1.359 GB, free: 4.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/1.006, allocations: 66.89 kB / 1.359 GB, free: 4.246 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.006, allocations: 0 / 1.359 GB, free: 4.246 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/1.037, allocations: 7.11 MB / 1.366 GB, free: 3.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.416, allocations: 10.64 kB / 1.366 GB, free: 3.449 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.585540113970637] Failed to read output from testmodel.py, exit status != 0: 9.554262680991087 9.568634085 8.576116237 Calling exit ...