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.001823/0.001823, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002283/0.002283, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.189/3.189, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002068/0.002068, allocations: 59 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 176.1 MB / 1.327 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002325/0.3833, allocations: 0.9075 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.3854, allocations: 1.416 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.3855, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.3859, allocations: 75.67 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.386, allocations: 59.61 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.3869, allocations: 338 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.3874, allocations: 427.2 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3875, allocations: 46 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3877, allocations: 167.6 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.388, allocations: 175.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.511e-05/0.3881, allocations: 36 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3883, allocations: 63.95 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3884, allocations: 83.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3886, allocations: 131.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.3892, allocations: 442.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3892, allocations: 3.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3892, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3892, allocations: 4 kB / 1.331 GB, free: 13.21 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009308/0.3901, allocations: 0.5818 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3901, allocations: 12.03 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.924e-05/0.3902, allocations: 192 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.3902, allocations: 50.73 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3903, allocations: 28.8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.3908, allocations: 250.9 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3908, allocations: 16.38 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.3909, allocations: 24.36 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.3913, allocations: 273.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3913, allocations: 3.984 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3913, allocations: 8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3913, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.3916, allocations: 211.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3927, allocations: 0.5228 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.3932, allocations: 282 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.3934, allocations: 220.2 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3935, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.3939, allocations: 316 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.3939, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001103/0.395, allocations: 0.7078 MB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.3951, allocations: 122.8 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.3954, allocations: 245.4 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.3955, allocations: 41.69 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3956, allocations: 132.7 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.366e-05/0.3957, allocations: 63.52 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.3959, allocations: 97.66 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3961, allocations: 346.8 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.3965, allocations: 314.7 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.3971, allocations: 0.5523 MB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.3981, allocations: 0.5189 MB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3981, allocations: 0 / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001695/0.3998, allocations: 0.7532 MB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.3999, allocations: 134.8 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3999, allocations: 3.938 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3999, allocations: 4.312 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.4001, allocations: 31.98 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4001, allocations: 7.938 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.4009, allocations: 91.67 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.401, allocations: 19.94 kB / 1.338 GB, free: 5.68 MB / 1.029 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.0004047/0.4014, allocations: 251.7 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.4015, allocations: 23.92 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.4016, allocations: 34.64 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4016, allocations: 0 / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4016, allocations: 4 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4016, allocations: 3.938 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.4034, allocations: 0.8909 MB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4034, allocations: 0 / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.4035, allocations: 16 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4035, allocations: 0 / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.4036, allocations: 15.92 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.4036, allocations: 4 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4036, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4048, allocations: 0.6353 MB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.4048, allocations: 27.72 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.4049, allocations: 19.94 kB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.4051, allocations: 15.98 kB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.4053, allocations: 43.95 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.4053, allocations: 15.98 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001955/0.4055, allocations: 176.5 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4055, allocations: 0 / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004341/0.406, allocations: 87.94 kB / 1.34 GB, free: 3.289 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: 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.001271/0.4072, allocations: 1.23 MB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.4084, allocations: 0.8432 MB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4084, allocations: 0.625 kB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.4088, allocations: 359.8 kB / 1.342 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.4092, allocations: 60.33 kB / 1.342 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.4146, allocations: 4.168 MB / 1.346 GB, free: 12.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.4148, allocations: 136.6 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.4149, allocations: 37.92 kB / 1.346 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.415, allocations: 71.41 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/0.415, allocations: 4 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4458, allocations: 7.73 MB / 1.354 GB, free: 4.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.71, allocations: 2.031 kB / 1.354 GB, free: 4.484 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.524335619993508] Failed to read output from testmodel.py, exit status != 0: 12.877957504009828 12.908161333 12.513358604 Calling exit ...