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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_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.008478/0.008478, allocations: 101 kB / 15.73 MB, free: 6.059 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.00226/0.00226, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 79.81 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7573, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002115/0.7594, allocations: 0.9374 MB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.7614, allocations: 1.405 MB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.7615, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.7618, allocations: 59.67 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.431e-05/0.7619, allocations: 55.69 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.7627, allocations: 336.7 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.7633, allocations: 455.2 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.7634, allocations: 57.59 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.7636, allocations: 167.6 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.7639, allocations: 163.5 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.764, allocations: 36 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.7642, allocations: 71.91 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.7643, allocations: 79.8 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.7645, allocations: 151.3 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.765, allocations: 438.2 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.765, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.765, allocations: 4 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.7651, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 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.0009228/0.766, allocations: 0.6572 MB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.766, allocations: 12.03 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.7661, allocations: 50.73 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.7662, allocations: 32.8 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.7666, allocations: 308.9 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7666, allocations: 16.38 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.7667, allocations: 24.38 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.767, allocations: 182 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.7671, allocations: 7.922 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.7671, allocations: 8 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7671, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.7673, allocations: 123.9 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.7683, allocations: 0.629 MB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.7688, allocations: 234.6 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.769, allocations: 160.9 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.769, allocations: 0 / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.7694, allocations: 231.8 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.7694, allocations: 4 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0008452/0.7703, allocations: 0.5163 MB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.7704, allocations: 114.8 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.7706, allocations: 256 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.7707, allocations: 37.7 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.7708, allocations: 128.7 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.7709, allocations: 59.48 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.7711, allocations: 105.6 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7712, allocations: 342.8 kB / 1.229 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.7715, allocations: 163.9 kB / 1.229 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.772, allocations: 297.6 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.7725, allocations: 491.4 kB / 1.229 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7725, allocations: 0 / 1.229 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009035/0.7735, allocations: 0.5822 MB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.7736, allocations: 142.8 kB / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.7736, allocations: 0 / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7736, allocations: 4 kB / 1.23 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.7737, allocations: 35.86 kB / 1.23 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7737, allocations: 4 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.7743, allocations: 87.75 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.7744, allocations: 31.95 kB / 1.23 GB, free: 7.199 MB / 0.9512 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.0002591/0.7746, allocations: 249.4 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.7747, allocations: 23.86 kB / 1.231 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.7747, allocations: 26.55 kB / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7747, allocations: 0 / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7748, allocations: 0 / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7748, allocations: 4 kB / 1.231 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.7759, allocations: 0.8594 MB / 1.231 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7759, allocations: 4 kB / 1.231 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.776, allocations: 15.88 kB / 1.231 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.776, allocations: 0 / 1.231 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.776, allocations: 23.98 kB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7761, allocations: 0 / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7761, allocations: 0 / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.7767, allocations: 0.5382 MB / 1.232 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.7768, allocations: 104.9 kB / 1.232 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.7769, allocations: 15.94 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.777, allocations: 15.98 kB / 1.232 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7771, allocations: 47.95 kB / 1.232 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.7772, allocations: 12 kB / 1.232 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001715/0.7773, allocations: 173.6 kB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7774, allocations: 0 / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003786/0.7777, allocations: 87.92 kB / 1.232 GB, free: 4.879 MB / 0.9512 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.001059/0.7788, allocations: 1.112 MB / 1.233 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008964/0.7797, allocations: 0.7009 MB / 1.234 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7797, allocations: 0 / 1.234 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.7801, allocations: 342.6 kB / 1.235 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.7805, allocations: 52.34 kB / 1.235 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.785, allocations: 3.458 MB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.7854, allocations: 0.748 MB / 1.239 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.926e-05/0.7855, allocations: 33.94 kB / 1.239 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.7856, allocations: 71.41 kB / 1.239 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.7856, allocations: 7.938 kB / 1.239 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.8169, allocations: 7.047 MB / 1.246 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.599, allocations: 24.73 kB / 1.246 GB, free: 7.23 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches