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.00125/0.00125, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001408/0.001408, allocations: 214.6 kB / 23.02 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.09/3.09, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.001923/0.001923, allocations: 65.56 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3464, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002258/0.3487, allocations: 0.9063 MB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3506, allocations: 1.412 MB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.3507, allocations: 7.938 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.3511, allocations: 71.66 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/0.3512, allocations: 55.69 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.3521, allocations: 331 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.3526, allocations: 435.3 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3528, allocations: 42 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.353, allocations: 171.6 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3534, allocations: 167.5 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.3534, allocations: 39.98 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.3536, allocations: 71.91 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3538, allocations: 79.78 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.354, allocations: 139.5 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.3545, allocations: 430.6 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3545, allocations: 7.922 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3545, allocations: 4 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3545, allocations: 0 / 1.35 GB, free: 11.6 MB / 1.045 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.00103/0.3555, allocations: 0.5819 MB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3556, allocations: 8.031 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.3556, allocations: 4.188 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3557, allocations: 42.73 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3558, allocations: 32.8 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.3563, allocations: 250.9 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3563, allocations: 20.38 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.3564, allocations: 24.38 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.3568, allocations: 278 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3568, allocations: 0 / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3568, allocations: 8 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3568, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.3571, allocations: 209.2 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.358, allocations: 0.5267 MB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3585, allocations: 281.9 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.3588, allocations: 216.4 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3588, allocations: 4 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.3592, allocations: 319.2 kB / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/0.3592, allocations: 0 / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.001011/0.3602, allocations: 0.6948 MB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3603, allocations: 122.8 kB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.3606, allocations: 248 kB / 1.353 GB, free: 7.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3607, allocations: 41.64 kB / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3608, allocations: 128.7 kB / 1.353 GB, free: 7.289 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.3609, allocations: 67.52 kB / 1.353 GB, free: 7.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.3611, allocations: 97.66 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3612, allocations: 342.8 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.3616, allocations: 318.4 kB / 1.354 GB, free: 6.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.3622, allocations: 0.5633 MB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.3628, allocations: 0.5151 MB / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3628, allocations: 0 / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009995/0.3638, allocations: 0.7564 MB / 1.356 GB, free: 4.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3639, allocations: 138.8 kB / 1.356 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3639, allocations: 4.312 kB / 1.356 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3639, allocations: 8 kB / 1.356 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.364, allocations: 23.92 kB / 1.356 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.364, allocations: 4 kB / 1.356 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.3646, allocations: 95.56 kB / 1.356 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.3646, allocations: 23.98 kB / 1.356 GB, free: 4.059 MB / 1.045 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.0002571/0.3649, allocations: 247.7 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.3649, allocations: 27.81 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.365, allocations: 26.64 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.365, allocations: 4 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.365, allocations: 0 / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.365, allocations: 3.938 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3662, allocations: 0.887 MB / 1.357 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3662, allocations: 4 kB / 1.357 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.3662, allocations: 15.94 kB / 1.357 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3662, allocations: 0 / 1.357 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.3663, allocations: 19.92 kB / 1.357 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3663, allocations: 0 / 1.357 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3663, allocations: 0 / 1.357 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.367, allocations: 0.6315 MB / 1.358 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.367, allocations: 27.8 kB / 1.358 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.3671, allocations: 19.92 kB / 1.358 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3672, allocations: 15.98 kB / 1.358 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3674, allocations: 47.95 kB / 1.358 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3674, allocations: 15.98 kB / 1.358 GB, free: 1.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001708/0.3676, allocations: 177.8 kB / 1.358 GB, free: 1.762 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3676, allocations: 3.938 kB / 1.358 GB, free: 1.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003861/0.368, allocations: 83.89 kB / 1.358 GB, free: 1.676 MB / 1.045 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.001155/0.3691, allocations: 1.222 MB / 1.36 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009916/0.3701, allocations: 0.8426 MB / 1.36 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3701, allocations: 8.188 kB / 1.36 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.3705, allocations: 363.4 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3709, allocations: 56.33 kB / 1.361 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.3758, allocations: 4.18 MB / 1.365 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3759, allocations: 128.6 kB / 1.365 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.376, allocations: 37.92 kB / 1.365 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3761, allocations: 71.36 kB / 1.365 GB, free: 10.32 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3761, allocations: 4 kB / 1.365 GB, free: 10.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4048, allocations: 7.708 MB / 1.373 GB, free: 2.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.94, allocations: 9.5 kB / 1.373 GB, free: 2.836 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.36160689301323] Failed to read output from testmodel.py, exit status != 0: 12.108942675986327 12.127256958 11.769283013999999 Calling exit ...