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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009258, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006525/0.006526, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 12.78 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001236/0.2864, allocations: 0.6531 MB / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.2884, allocations: 1.428 MB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2886, allocations: 0 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.289, allocations: 71.73 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2891, allocations: 47.75 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.29, allocations: 314.7 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.2905, allocations: 371.3 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2906, allocations: 49.66 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.2909, allocations: 131.6 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.2912, allocations: 131.5 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.2912, allocations: 20 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2914, allocations: 43.95 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2915, allocations: 67.8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2917, allocations: 149.1 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.2921, allocations: 403 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2922, allocations: 4 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2922, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2922, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 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.0008241/0.293, allocations: 0.5757 MB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2931, allocations: 12.03 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.2931, allocations: 50.73 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2932, allocations: 28.66 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.2937, allocations: 312.6 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.2937, allocations: 12.38 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.2938, allocations: 24.38 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2941, allocations: 182 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2941, allocations: 3.938 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2941, allocations: 11.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2941, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.2943, allocations: 127.9 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.2953, allocations: 0.6212 MB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.2957, allocations: 234.5 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.2959, allocations: 160.9 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2959, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.2963, allocations: 236.4 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.644e-06/0.2963, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007489/0.2971, allocations: 0.5233 MB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.2971, allocations: 114.8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2974, allocations: 259.9 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.2975, allocations: 37.7 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.2976, allocations: 128.7 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.2976, allocations: 55.27 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.2977, allocations: 45.69 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2978, allocations: 342.8 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.2981, allocations: 171.9 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.2984, allocations: 289.6 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.2989, allocations: 491.4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2989, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007922/0.2997, allocations: 0.5825 MB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.2998, allocations: 142.8 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2998, allocations: 8.312 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2999, allocations: 4 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.3, allocations: 23.92 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.3006, allocations: 117.5 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.3007, allocations: 31.92 kB / 1.068 GB, free: 10.7 MB / 0.8262 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.0002371/0.3009, allocations: 245.3 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.301, allocations: 23.72 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.301, allocations: 22.56 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.301, allocations: 4 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.301, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.301, allocations: 7.969 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.302, allocations: 0.8606 MB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.302, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.3021, allocations: 16 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3021, allocations: 3.938 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3021, allocations: 11.94 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3021, allocations: 12.05 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3022, allocations: 3.938 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.3027, allocations: 0.5259 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.3028, allocations: 96.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.3028, allocations: 19.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.303, allocations: 15.98 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.3031, allocations: 51.95 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.3031, allocations: 8 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001472/0.3033, allocations: 173.8 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3033, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003728/0.3037, allocations: 95.83 kB / 1.07 GB, free: 8.375 MB / 0.8262 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.0009331/0.3046, allocations: 1.12 MB / 1.072 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007734/0.3054, allocations: 0.691 MB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3054, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3057, allocations: 339.3 kB / 1.073 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3061, allocations: 49.27 kB / 1.073 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.3101, allocations: 3.471 MB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3104, allocations: 0.7519 MB / 1.077 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.3106, allocations: 41.91 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.3107, allocations: 67.41 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of SimCode: time 1.914e-06/0.3107, allocations: 0 / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.376/1.687, allocations: 6.565 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/1.687, allocations: 243.3 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/4.047, allocations: 2.406 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB (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 --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --timeout=50 --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)