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.001634/0.001634, allocations: 100.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.002203/0.002203, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.797/2.797, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] 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.002088/0.002088, allocations: 67.61 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002451/0.3821, allocations: 0.8981 MB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3842, allocations: 1.414 MB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.3843, allocations: 3.938 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3847, allocations: 75.67 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3849, allocations: 55.69 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3859, allocations: 344.6 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.3865, allocations: 435.2 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3866, allocations: 29.8 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.3869, allocations: 179.6 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.3872, allocations: 171.4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.3873, allocations: 40 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3875, allocations: 63.95 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.3877, allocations: 87.72 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.3879, allocations: 131.5 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.3885, allocations: 435.8 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3885, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3885, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3885, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 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.001067/0.3895, allocations: 0.578 MB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3896, allocations: 15.97 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.3896, allocations: 4.188 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.3897, allocations: 50.73 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3898, allocations: 28.8 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3903, allocations: 247 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3904, allocations: 20.38 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.3904, allocations: 24.36 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3908, allocations: 273.1 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3908, allocations: 0 / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3909, allocations: 4 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3909, allocations: 0 / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.3911, allocations: 215.3 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.3921, allocations: 0.5228 MB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.3927, allocations: 286 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.3929, allocations: 218.3 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.393, allocations: 0 / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.3934, allocations: 315.3 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.3934, allocations: 0 / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.001057/0.3945, allocations: 0.7058 MB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/0.3946, allocations: 126.8 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3949, allocations: 249.3 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.3949, allocations: 41.69 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.395, allocations: 124.7 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.3951, allocations: 63.52 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.3953, allocations: 101.6 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3954, allocations: 338.8 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.3958, allocations: 318.7 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.3964, allocations: 0.5562 MB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.3971, allocations: 0.5151 MB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3971, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001072/0.3982, allocations: 0.7572 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.3983, allocations: 134.8 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3983, allocations: 0 / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.3983, allocations: 4 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3985, allocations: 31.91 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3985, allocations: 7.938 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3991, allocations: 96 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.3991, allocations: 20 kB / 1.295 GB, free: 14.78 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.000355/0.3995, allocations: 243.7 kB / 1.295 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3995, allocations: 23.86 kB / 1.295 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.3996, allocations: 26.64 kB / 1.295 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3996, allocations: 4 kB / 1.295 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3996, allocations: 4 kB / 1.295 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3996, allocations: 3.938 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.401, allocations: 0.8908 MB / 1.296 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.401, allocations: 0 / 1.296 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.4011, allocations: 12 kB / 1.296 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4011, allocations: 0 / 1.296 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4011, allocations: 15.92 kB / 1.296 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4011, allocations: 4 kB / 1.296 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4011, allocations: 4.062 kB / 1.296 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.4019, allocations: 0.6392 MB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.402, allocations: 27.78 kB / 1.297 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.402, allocations: 19.94 kB / 1.297 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4022, allocations: 15.98 kB / 1.297 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4023, allocations: 43.95 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.4023, allocations: 15.98 kB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001911/0.4025, allocations: 180.4 kB / 1.297 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4025, allocations: 0 / 1.297 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004617/0.403, allocations: 83.94 kB / 1.297 GB, free: 12.39 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.001287/0.4043, allocations: 1.232 MB / 1.298 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.4054, allocations: 0.8432 MB / 1.299 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4054, allocations: 0 / 1.299 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.4058, allocations: 358 kB / 1.3 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.4062, allocations: 61.08 kB / 1.3 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.4116, allocations: 4.183 MB / 1.304 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4118, allocations: 136.6 kB / 1.304 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.4119, allocations: 41.92 kB / 1.304 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.412, allocations: 67.41 kB / 1.304 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.412, allocations: 0 / 1.304 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.4436, allocations: 7.718 MB / 1.312 GB, free: 13.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.78, allocations: 11.38 kB / 1.312 GB, free: 13.57 MB / 1.014 GB " [Timeout remaining time 287] (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: 19.51144072005991] Failed to read output from testmodel.py, exit status != 0: 13.520229513989761 12.972675579 12.579307991 Calling exit ...