Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008636/0.0008636, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006363/0.006363, allocations: 170 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 12.56 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3877, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001423/0.3892, allocations: 0.6436 MB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.3918, allocations: 1.435 MB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.392, allocations: 0 / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.3924, allocations: 63.75 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.3926, allocations: 51.75 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3937, allocations: 301.9 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.3944, allocations: 379.2 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.3946, allocations: 53.62 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.3949, allocations: 135.6 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.3953, allocations: 127.5 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3954, allocations: 12 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3956, allocations: 47.97 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3957, allocations: 75.78 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.396, allocations: 145.1 kB / 1.078 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.3965, allocations: 402.9 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3966, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3966, allocations: 4 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.3966, allocations: 0 / 1.078 GB, free: 3.707 MB / 0.8262 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.001059/0.3976, allocations: 0.5834 MB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3977, allocations: 8.031 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.3979, allocations: 36.66 kB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.3984, allocations: 300.9 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.3984, allocations: 16.36 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.3985, allocations: 20.38 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.3988, allocations: 187.5 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3988, allocations: 192 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.3989, allocations: 15.88 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3989, allocations: 0 / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.3991, allocations: 115.9 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.4002, allocations: 0.6367 MB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.4006, allocations: 234.6 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.4009, allocations: 164.8 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4009, allocations: 7.984 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.4014, allocations: 237.3 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.185e-06/0.4014, allocations: 0 / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0009174/0.4023, allocations: 0.5116 MB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4024, allocations: 122.8 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.4027, allocations: 255.9 kB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.4028, allocations: 37.75 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.403, allocations: 124.7 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.403, allocations: 63.19 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.4031, allocations: 49.69 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4033, allocations: 334.8 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.4036, allocations: 163.9 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.404, allocations: 308.2 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.4046, allocations: 492.1 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4046, allocations: 4 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009427/0.4055, allocations: 0.5779 MB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4057, allocations: 146.8 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4057, allocations: 0 / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4057, allocations: 7.938 kB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4058, allocations: 32.23 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4058, allocations: 4 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.4066, allocations: 114.7 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.4066, allocations: 20 kB / 1.084 GB, free: 13.41 MB / 0.8419 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.0003454/0.407, allocations: 247.6 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.4071, allocations: 27.72 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.4071, allocations: 26.55 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4071, allocations: 4 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4071, allocations: 0 / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4072, allocations: 0 / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4084, allocations: 0.8529 MB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4085, allocations: 0 / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.4085, allocations: 11.98 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4085, allocations: 0 / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.4086, allocations: 16 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-06/0.4086, allocations: 7.875 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4086, allocations: 0 / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.4092, allocations: 0.5336 MB / 1.085 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.4093, allocations: 104.8 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.4094, allocations: 15.98 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4096, allocations: 19.94 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4097, allocations: 43.95 kB / 1.085 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4098, allocations: 23.98 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001877/0.4099, allocations: 177.6 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.954e-06/0.41, allocations: 0 / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000483/0.4104, allocations: 83.88 kB / 1.086 GB, free: 11.09 MB / 0.8419 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.0002945/0.4107, allocations: 144.2 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009804/0.4117, allocations: 0.7024 MB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4118, allocations: 0 / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.4121, allocations: 346.6 kB / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.4126, allocations: 48.97 kB / 1.087 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.4136, allocations: 0.5481 MB / 1.087 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.414, allocations: 0.7443 MB / 1.088 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.4142, allocations: 41.92 kB / 1.088 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.4142, allocations: 19.44 kB / 1.088 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4142, allocations: 0 / 1.088 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.01047/0.4247, allocations: 4.603 MB / 1.093 GB, free: 3.832 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1)