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.0009804/0.0009804, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001918/0.001918, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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 1.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.203 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.89/1.89, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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 4.719e-06/4.719e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.658e-05/5.13e-05, allocations: 4.562 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002315/0.002366, allocations: 0.615 MB / 0.8121 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003969, allocations: 1.156 MB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.004033, allocations: 0 / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.004071, allocations: 4.562 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.004167, allocations: 17.27 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.004632, allocations: 111.7 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.004838, allocations: 100.9 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.004923, allocations: 0 / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.005015, allocations: 51.91 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.005104, allocations: 32.56 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.005125, allocations: 8 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.005179, allocations: 16.91 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.0052, allocations: 7.984 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.005248, allocations: 24.64 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.005391, allocations: 79.75 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.005394, allocations: 4.875 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.005396, allocations: 0 / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.0054, allocations: 0 / 0.8137 GB, free: 15.54 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.0004035/0.005803, allocations: 403.5 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.005841, allocations: 8.031 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.005889, allocations: 4.938 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.005973, allocations: 118.5 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005995, allocations: 8.375 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.006012, allocations: 4.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.006102, allocations: 50.94 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.006112, allocations: 192 / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006123, allocations: 1.406 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.006132, allocations: 4.359 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.006156, allocations: 7.938 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.006484, allocations: 285.3 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.006539, allocations: 34.98 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.006557, allocations: 11.75 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.006563, allocations: 0.9688 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.141e-05/0.006655, allocations: 65.05 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.006656, allocations: 0.75 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.006826, allocations: 69.52 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.006857, allocations: 56.09 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.006935, allocations: 165.9 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.006954, allocations: 38.25 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.007002, allocations: 130.9 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.007014, allocations: 13.02 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.007204, allocations: 35.36 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.007333, allocations: 492.7 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.007412, allocations: 61.67 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.007483, allocations: 90.08 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.00757, allocations: 80.7 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007573, allocations: 1.156 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000196/0.007769, allocations: 180.9 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.007801, allocations: 38.17 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007806, allocations: 0.8438 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.007823, allocations: 4 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.007873, allocations: 5.672 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.00788, allocations: 4.391 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.008, allocations: 19.98 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.008012, allocations: 4 kB / 0.8161 GB, free: 12.82 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.63e-05/0.008088, allocations: 165.3 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.008102, allocations: 15.36 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.008129, allocations: 7.938 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008132, allocations: 4 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008136, allocations: 0 / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008139, allocations: 0 / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.008219, allocations: 120.6 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00822, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.008232, allocations: 4 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008234, allocations: 0 / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.00824, allocations: 0.625 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.008242, allocations: 3.938 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.008244, allocations: 4.484 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.864e-05/0.008342, allocations: 102.2 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.00835, allocations: 4.016 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.008362, allocations: 8 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.293e-05/0.008375, allocations: 3.984 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.008401, allocations: 7.969 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008406, allocations: 8.844 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.008442, allocations: 127.2 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008443, allocations: 1.688 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001535/0.008596, allocations: 19.98 kB / 0.8167 GB, free: 12.17 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.0001123/0.008708, allocations: 99.19 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.008874, allocations: 149.3 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008876, allocations: 4.812 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.008898, allocations: 15.69 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.009055, allocations: 12.86 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.009305, allocations: 131.6 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.009337, allocations: 59.2 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.009354, allocations: 4 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.009373, allocations: 13.25 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.009374, allocations: 0 / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.002922/0.0123, allocations: 1.192 MB / 0.8183 GB, free: 10.48 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: 5.34906057594344]