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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 96.5 kB / 15.73 MB, free: 6.055 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.001827/0.001827, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.897/2.897, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 75.88 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002154/0.372, allocations: 0.9311 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3739, allocations: 1.416 MB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.374, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.3744, allocations: 71.61 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.953e-05/0.3745, allocations: 59.69 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.3753, allocations: 330.6 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.3758, allocations: 435.2 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3759, allocations: 49.53 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3761, allocations: 159.6 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.3764, allocations: 179.4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.3765, allocations: 36 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3766, allocations: 59.97 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3767, allocations: 75.8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.3769, allocations: 155.3 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.3774, allocations: 434.5 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3774, allocations: 4 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3774, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3774, allocations: 0 / 1.225 GB, free: 9.43 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.0009442/0.3783, allocations: 0.6611 MB / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3784, allocations: 8.031 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3785, allocations: 32.8 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3789, allocations: 308.9 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.379, allocations: 16.38 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.379, allocations: 20.38 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.3793, allocations: 186.3 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3793, allocations: 4.125 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3794, allocations: 19.92 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3794, allocations: 0 / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3796, allocations: 119.9 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3806, allocations: 0.629 MB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.381, allocations: 198.5 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3812, allocations: 133 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3812, allocations: 4 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.3815, allocations: 228.6 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.3815, allocations: 0 / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008259/0.3824, allocations: 0.5195 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.3824, allocations: 122.8 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.3827, allocations: 248 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.3827, allocations: 41.7 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3828, allocations: 136.6 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.3829, allocations: 59.55 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3831, allocations: 97.66 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3832, allocations: 338.8 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.3835, allocations: 163.9 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.3839, allocations: 293.6 kB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.3844, allocations: 495.4 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3844, allocations: 3.938 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008644/0.3853, allocations: 0.5943 MB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/0.3854, allocations: 142.8 kB / 1.23 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3854, allocations: 0 / 1.23 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3854, allocations: 4 kB / 1.23 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3855, allocations: 24.3 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3855, allocations: 15.92 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.3861, allocations: 87.75 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.3861, allocations: 20 kB / 1.231 GB, free: 3.082 MB / 0.9825 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.000252/0.3864, allocations: 252.2 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.3864, allocations: 23.86 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.3865, allocations: 22.55 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3865, allocations: 4 kB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3865, allocations: 4 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3865, allocations: 4 kB / 1.231 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3876, allocations: 0.8493 MB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3876, allocations: 4 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.3876, allocations: 19.98 kB / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3876, allocations: 0 / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3876, allocations: 8 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3877, allocations: 3.938 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3877, allocations: 0 / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.3883, allocations: 0.5402 MB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.3884, allocations: 104.9 kB / 1.232 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.3884, allocations: 16 kB / 1.232 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3887, allocations: 19.92 kB / 1.232 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3888, allocations: 51.95 kB / 1.232 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3888, allocations: 11.98 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001947/0.389, allocations: 181.6 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.389, allocations: 0 / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004028/0.3894, allocations: 76 kB / 1.233 GB, free: 0.7656 MB / 0.9825 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.000303/0.3897, allocations: 145.4 kB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008874/0.3906, allocations: 0.6184 MB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3906, allocations: 0 / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.3909, allocations: 278.7 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3914, allocations: 56.95 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.3923, allocations: 0.5152 MB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3926, allocations: 0.7363 MB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3927, allocations: 41.92 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3928, allocations: 31.38 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.3928, allocations: 0 / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of Templates: time 0.009243/0.402, allocations: 4.884 MB / 1.24 GB, free: 9.41 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins/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