Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0009526/0.0009526, allocations: 71.75 kB / 20.97 MB, free: 3.57 MB / 18.57 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.0009373/0.0009373, allocations: 169 kB / 24.27 MB, free: 276 kB / 18.57 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 0.9373/0.9373, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.598e-05, allocations: 6.156 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001264/0.00128, allocations: 0.6223 MB / 0.8121 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.005462, allocations: 1.155 MB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.005505, allocations: 0.9688 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.005528, allocations: 4 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.005588, allocations: 9.562 kB / 0.8132 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.005974, allocations: 123.6 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.006115, allocations: 91.83 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.006189, allocations: 1.531 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.006274, allocations: 55.94 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.006355, allocations: 27.84 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.006375, allocations: 8 kB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.006439, allocations: 25.73 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.00646, allocations: 0 / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.006508, allocations: 27.97 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.006645, allocations: 79.7 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006648, allocations: 5.125 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006649, allocations: 0 / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.006653, allocations: 0 / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003517/0.007004, allocations: 403.3 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007038, allocations: 8.031 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.007087, allocations: 8.922 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/0.007161, allocations: 117.5 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.007179, allocations: 4.375 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.007195, allocations: 4.375 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.007277, allocations: 49.17 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.007282, allocations: 192 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.00729, allocations: 384 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.007297, allocations: 384 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.007323, allocations: 11.88 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.01065, allocations: 287.7 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.01069, allocations: 28.31 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.01071, allocations: 11.75 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.01072, allocations: 4.484 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.234e-05/0.0108, allocations: 66.59 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.0108, allocations: 0 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001597/0.01096, allocations: 69.75 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.01099, allocations: 55.41 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.01108, allocations: 170.5 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01109, allocations: 25.7 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.01114, allocations: 135.7 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.01116, allocations: 11.95 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.01121, allocations: 43.81 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.01132, allocations: 492.1 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.0114, allocations: 54.31 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.01148, allocations: 93.33 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.01156, allocations: 82.19 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01156, allocations: 4 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002082/0.01177, allocations: 177.8 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.0118, allocations: 41.62 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01181, allocations: 4.922 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01182, allocations: 4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.01186, allocations: 7.938 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01187, allocations: 5.609 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01199, allocations: 19.97 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.012, allocations: 4.969 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.147e-05/0.01207, allocations: 160.6 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.01208, allocations: 10.27 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.0121, allocations: 7.938 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01211, allocations: 3.984 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01211, allocations: 4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01211, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.01219, allocations: 116.6 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.01219, allocations: 3.312 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.0122, allocations: 4 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.0122, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.0122, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0122, allocations: 3.938 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01221, allocations: 3.984 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.282e-05/0.0123, allocations: 100.4 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.01231, allocations: 3.953 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.01232, allocations: 4 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.01233, allocations: 4.969 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.01235, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.01236, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.0124, allocations: 131.7 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0124, allocations: 0.5625 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001917/0.01259, allocations: 16.56 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000105/0.01269, allocations: 108.2 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.01287, allocations: 148.7 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01287, allocations: 1.094 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.0129, allocations: 19.67 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01307, allocations: 6.891 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.01631, allocations: 139.7 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.01634, allocations: 59.22 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.01636, allocations: 4 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.01638, allocations: 13.48 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.01638, allocations: 4 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.002809/0.01919, allocations: 1.199 MB / 0.8183 GB, free: 10.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.968706574989483]