Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001775/0.001775, allocations: 114.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.002077/0.002077, allocations: 210.2 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.533/1.533, 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 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.885/2.885, allocations: 476.7 MB / 0.7678 GB, free: 9.406 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.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_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.002322/0.002322, allocations: 67.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.072, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002483/1.074, allocations: 0.9463 MB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002526/1.077, allocations: 1.445 MB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/1.077, allocations: 6.594 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004297/1.077, allocations: 63.86 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/1.077, allocations: 58.19 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/1.078, allocations: 329.2 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008129/1.079, allocations: 434.6 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/1.079, allocations: 45.94 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/1.08, allocations: 168.9 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/1.08, allocations: 173.5 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/1.08, allocations: 35.5 kB / 1.283 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/1.08, allocations: 64.95 kB / 1.283 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/1.08, allocations: 89.28 kB / 1.283 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/1.081, allocations: 149.1 kB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007204/1.081, allocations: 428.3 kB / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.081, allocations: 2.297 kB / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.081, allocations: 0 / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.081, allocations: 3.938 kB / 1.283 GB, free: 9.234 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00116/1.083, allocations: 0.6593 MB / 1.284 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.083, allocations: 9.531 kB / 1.284 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.636e-05/1.083, allocations: 7.422 kB / 1.284 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/1.083, allocations: 47.28 kB / 1.284 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.083, allocations: 34.45 kB / 1.284 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/1.083, allocations: 301.7 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.083, allocations: 19.73 kB / 1.284 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/1.083, allocations: 20.67 kB / 1.284 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/1.084, allocations: 189.9 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.084, allocations: 0 / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/1.084, allocations: 7.578 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.084, allocations: 6.781 kB / 1.284 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/1.084, allocations: 117.5 kB / 1.285 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/1.085, allocations: 0.6304 MB / 1.285 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/1.086, allocations: 205.1 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/1.086, allocations: 128.4 kB / 1.286 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/1.086, allocations: 5.094 kB / 1.286 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/1.087, allocations: 242.2 kB / 1.286 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.464e-06/1.087, allocations: 3.938 kB / 1.286 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.001007/1.088, allocations: 0.5183 MB / 1.286 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.088, allocations: 122 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/1.088, allocations: 246.5 kB / 1.287 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/1.088, allocations: 46.48 kB / 1.287 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.088, allocations: 132.7 kB / 1.287 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/1.088, allocations: 54.8 kB / 1.287 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.088, allocations: 100.8 kB / 1.287 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.089, allocations: 335.2 kB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/1.089, allocations: 164.2 kB / 1.287 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/1.089, allocations: 300.1 kB / 1.288 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/1.09, allocations: 485.2 kB / 1.288 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.09, allocations: 5.125 kB / 1.288 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001086/1.091, allocations: 0.5934 MB / 1.289 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.091, allocations: 143.1 kB / 1.289 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.091, allocations: 1.625 kB / 1.289 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/1.091, allocations: 4.438 kB / 1.289 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.092, allocations: 26.17 kB / 1.289 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.092, allocations: 8.875 kB / 1.289 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/1.092, allocations: 93.12 kB / 1.289 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/1.092, allocations: 23.97 kB / 1.289 GB, free: 5.359 MB / 0.9981 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.0003544/1.093, allocations: 245.6 kB / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/1.093, allocations: 26.41 kB / 1.289 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/1.093, allocations: 23.81 kB / 1.289 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.093, allocations: 1.656 kB / 1.289 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.093, allocations: 0 / 1.289 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.093, allocations: 5.906 kB / 1.289 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/1.094, allocations: 0.8489 MB / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.094, allocations: 1.469 kB / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/1.094, allocations: 9.781 kB / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.094, allocations: 5.062 kB / 1.29 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/1.094, allocations: 16.02 kB / 1.29 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.094, allocations: 1.469 kB / 1.29 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.094, allocations: 0.6562 kB / 1.29 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/1.095, allocations: 0.536 MB / 1.291 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.095, allocations: 104.3 kB / 1.291 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/1.095, allocations: 20.62 kB / 1.291 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.095, allocations: 17.73 kB / 1.291 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.096, allocations: 54.19 kB / 1.291 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.096, allocations: 11.84 kB / 1.291 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002382/1.096, allocations: 178.3 kB / 1.291 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.096, allocations: 0 / 1.291 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006143/1.096, allocations: 78.75 kB / 1.291 GB, free: 4.023 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: 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.001371/1.098, allocations: 1.131 MB / 1.292 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.099, allocations: 0.6148 MB / 1.293 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.099, allocations: 0 / 1.293 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/1.099, allocations: 282.1 kB / 1.293 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/1.1, allocations: 60.19 kB / 1.293 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/1.105, allocations: 3.474 MB / 1.297 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/1.106, allocations: 0.748 MB / 1.297 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001908/1.106, allocations: 37.25 kB / 1.297 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.106, allocations: 65.92 kB / 1.297 GB, free: 15.66 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.106, allocations: 1.156 kB / 1.297 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/1.137, allocations: 7.114 MB / 1.304 GB, free: 14.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.267/10.4, allocations: 7.219 kB / 1.304 GB, free: 14.87 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.80326450901339] Failed to read output from testmodel.py, exit status != 0: 10.536727022961713 10.55283055 9.468307349 Calling exit ...