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.001714/0.001714, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.002141/0.002141, allocations: 221.5 kB / 23.04 MB, free: 5.062 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 33.47 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.002021/0.002021, allocations: 73.78 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.00239/0.3623, allocations: 0.9443 MB / 1.328 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3645, allocations: 1.443 MB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3646, allocations: 4 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.365, allocations: 71.67 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.3651, allocations: 55.67 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.366, allocations: 337.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005296/0.3666, allocations: 435.2 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3667, allocations: 45.94 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3669, allocations: 163.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.3672, allocations: 175.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.3673, allocations: 39.94 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3675, allocations: 75.95 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3676, allocations: 75.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3678, allocations: 155.4 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.3683, allocations: 434.6 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3683, allocations: 4 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3683, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3683, allocations: 0 / 1.331 GB, free: 13.53 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.00096/0.3693, allocations: 0.5857 MB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3693, allocations: 8.031 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.08e-05/0.3694, allocations: 12.19 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.3694, allocations: 42.73 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3695, allocations: 32.8 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.37, allocations: 243 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.37, allocations: 16.38 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.3701, allocations: 28.38 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.3704, allocations: 189.7 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3704, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3705, allocations: 11.92 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3705, allocations: 8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.3707, allocations: 123.9 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3717, allocations: 0.6008 MB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.3721, allocations: 198.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3723, allocations: 132.9 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3724, allocations: 7.938 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.3727, allocations: 227.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.634e-06/0.3727, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008278/0.3735, allocations: 0.518 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.3736, allocations: 126.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.3739, allocations: 253.4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.374, allocations: 37.7 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3741, allocations: 128.7 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.3742, allocations: 67.52 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3744, allocations: 97.64 kB / 1.335 GB, free: 9.637 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3745, allocations: 342.8 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.3748, allocations: 163.9 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.3752, allocations: 294.2 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.3758, allocations: 491.4 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3758, allocations: 0 / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009151/0.3767, allocations: 0.5865 MB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3768, allocations: 142.8 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3768, allocations: 4 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3768, allocations: 4 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3769, allocations: 28.23 kB / 1.337 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3769, allocations: 11.94 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.3775, allocations: 83.75 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.3775, allocations: 19.98 kB / 1.337 GB, free: 7.316 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.0002821/0.3778, allocations: 251.8 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3779, allocations: 27.8 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.3779, allocations: 30.64 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3779, allocations: 0 / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3779, allocations: 0 / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3779, allocations: 3.938 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3791, allocations: 0.8212 MB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3791, allocations: 0 / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.3792, allocations: 11.94 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3792, allocations: 4 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3792, allocations: 19.92 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3792, allocations: 3.938 kB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3792, allocations: 64 / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007449/0.38, allocations: 0.5344 MB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.38, allocations: 23.8 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.3801, allocations: 19.92 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3802, allocations: 15.98 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3803, allocations: 55.89 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.3804, allocations: 19.92 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001784/0.3805, allocations: 176.5 kB / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3805, allocations: 0 / 1.339 GB, free: 5.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000408/0.3809, allocations: 83.94 kB / 1.339 GB, free: 5.113 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.001133/0.3821, allocations: 1.13 MB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.3829, allocations: 0.6171 MB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3829, allocations: 0 / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3833, allocations: 286.6 kB / 1.341 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3837, allocations: 49.03 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.3882, allocations: 3.458 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3886, allocations: 0.748 MB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.3887, allocations: 37.88 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3888, allocations: 67.41 kB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/0.3888, allocations: 0 / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4189, allocations: 7.341 MB / 1.352 GB, free: 7.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.63, allocations: 8.938 kB / 1.352 GB, free: 7.309 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.45430182601558] Failed to read output from testmodel.py, exit status != 0: 12.804086019983515 12.820023701 12.448515991 Calling exit ...