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.001186/0.001186, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001324/0.001324, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.949/1.949, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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 2.365e-06/2.365e-06, allocations: 0 / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.647e-05, allocations: 2.844 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001399/0.001426, allocations: 0.6189 MB / 0.8134 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.00267, allocations: 1.159 MB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.00271, allocations: 0.6875 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002735, allocations: 3.938 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.002803, allocations: 8.844 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.003165, allocations: 120.2 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.003305, allocations: 96.69 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.003383, allocations: 0 / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.003475, allocations: 53.05 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.003559, allocations: 23.95 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.003579, allocations: 8 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.342e-05/0.003632, allocations: 25.55 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.003652, allocations: 3.938 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.003684, allocations: 23.98 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003812, allocations: 79.77 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003815, allocations: 5.531 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003815, allocations: 3.938 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.00382, allocations: 0 / 0.8149 GB, free: 15.26 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.0003494/0.00417, allocations: 402.3 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.004203, allocations: 9.312 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.004236, allocations: 4.938 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.004315, allocations: 116.6 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.004332, allocations: 4.375 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004345, allocations: 9.625 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.715e-05/0.004412, allocations: 50.95 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.004418, allocations: 192 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004424, allocations: 0.9062 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.004429, allocations: 2.438 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.004446, allocations: 11.88 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.004697, allocations: 268.3 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.00474, allocations: 31.06 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.004752, allocations: 7.688 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.004758, allocations: 4.594 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.853e-05/0.004837, allocations: 61.7 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004838, allocations: 0 / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000135/0.004973, allocations: 71.06 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.005006, allocations: 55.41 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.005096, allocations: 169.9 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.005115, allocations: 25.7 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.005174, allocations: 135.5 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.005183, allocations: 3.953 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.005235, allocations: 40.34 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.005373, allocations: 0.4961 MB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.005432, allocations: 46.44 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.00549, allocations: 84.73 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.005558, allocations: 78.69 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00556, allocations: 0 / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004126/0.005973, allocations: 172.9 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.006006, allocations: 39.44 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.006014, allocations: 4 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.006028, allocations: 7.875 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.00607, allocations: 0 / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.006073, allocations: 5.281 kB / 0.8172 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.006186, allocations: 15.98 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.0062, allocations: 8.219 kB / 0.8173 GB, free: 12.6 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.481e-05/0.006275, allocations: 165.5 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.006284, allocations: 7.953 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.006306, allocations: 10.3 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.006309, allocations: 7.938 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006311, allocations: 0 / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006314, allocations: 0 / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.145e-05/0.006385, allocations: 105.2 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006387, allocations: 4.062 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.006399, allocations: 7.438 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006401, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.006405, allocations: 3.938 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.006406, allocations: 0 / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006407, allocations: 0 / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.107e-05/0.006488, allocations: 96.36 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006494, allocations: 3.953 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-06/0.006501, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.00651, allocations: 4 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.00653, allocations: 8.797 kB / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.006533, allocations: 0 / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.006571, allocations: 131.5 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006571, allocations: 0.5 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001358/0.006707, allocations: 20.56 kB / 0.8178 GB, free: 11.98 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.0001097/0.006816, allocations: 109 kB / 0.8179 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.006968, allocations: 140.7 kB / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006969, allocations: 0 / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.006987, allocations: 16.41 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.007136, allocations: 12.8 kB / 0.8181 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.007338, allocations: 135.1 kB / 0.8182 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.007368, allocations: 63.2 kB / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.007385, allocations: 4.594 kB / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.007453, allocations: 86.12 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.007453, allocations: 0.6562 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.002796/0.01025, allocations: 1.317 MB / 0.8196 GB, free: 10.09 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.2486686501652]