Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001058/0.001058, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001036/0.001036, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9984/0.9984, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.988/1.988, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.551e-05, allocations: 3.078 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001146/0.001162, allocations: 0.6367 MB / 0.8121 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.001905, allocations: 0.8547 MB / 0.813 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.001931, allocations: 4.688 kB / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.001958, allocations: 3.938 kB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.00201, allocations: 0.875 kB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.002136, allocations: 27.84 kB / 0.813 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.00219, allocations: 24.72 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.002262, allocations: 3.984 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.002323, allocations: 17.61 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.002364, allocations: 8 kB / 0.8131 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.00238, allocations: 7.984 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.002387, allocations: 4 kB / 0.8131 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.002403, allocations: 7.984 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.002418, allocations: 1.531 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.002483, allocations: 19.92 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002485, allocations: 4 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002486, allocations: 0 / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002489, allocations: 0.5 kB / 0.8131 GB, free: 144 kB / 0.7605 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.0003119/0.002801, allocations: 362.4 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.002834, allocations: 8.031 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.002863, allocations: 0.9375 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.326e-05/0.002936, allocations: 116.5 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.002954, allocations: 1.281 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.002965, allocations: 4.375 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.003079, allocations: 59.56 kB / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.003088, allocations: 192 / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.003095, allocations: 1.969 kB / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.003102, allocations: 384 / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.003131, allocations: 7.938 kB / 0.8136 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.003384, allocations: 251.8 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.003437, allocations: 37.56 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.00346, allocations: 19.73 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.003474, allocations: 0 / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.003494, allocations: 37.39 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003495, allocations: 0 / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.003625, allocations: 54.05 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.003648, allocations: 52.12 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.003712, allocations: 161.9 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.003722, allocations: 30.23 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.003758, allocations: 126.9 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.003777, allocations: 13.56 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.003801, allocations: 23.31 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.00393, allocations: 492.1 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.003948, allocations: 4 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.003959, allocations: 4.594 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.003987, allocations: 20.36 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.003988, allocations: 0.6875 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.551e-05/0.004044, allocations: 42.67 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.004054, allocations: 10.81 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004059, allocations: 3.938 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.004072, allocations: 1.375 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.00414, allocations: 7.984 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.004144, allocations: 0 / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.004163, allocations: 4.812 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004167, allocations: 0 / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.051e-05/0.004227, allocations: 153.5 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.004243, allocations: 7.984 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.004263, allocations: 12.47 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004264, allocations: 0 / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.004269, allocations: 4 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.004271, allocations: 0.8438 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.364e-05/0.004355, allocations: 112.6 kB / 0.8152 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.004356, allocations: 6.219 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.004377, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.004378, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004383, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004385, allocations: 3.938 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004386, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.064e-05/0.004476, allocations: 198.8 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-06/0.004481, allocations: 4 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.00449, allocations: 0 / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.004524, allocations: 11.92 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.00456, allocations: 4 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.004563, allocations: 3.984 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.004596, allocations: 127.2 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004596, allocations: 1.438 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001355/0.004731, allocations: 4 kB / 0.8156 GB, free: 13.33 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.159e-05/0.004793, allocations: 99.81 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.004862, allocations: 24.17 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.71e-07/0.004863, allocations: 0 / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.004884, allocations: 12.25 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.005043, allocations: 8.656 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.005259, allocations: 111.7 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.005292, allocations: 60.44 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.005309, allocations: 0.6562 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.005339, allocations: 12.5 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.00534, allocations: 0.7188 kB / 0.8159 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.001945/0.007285, allocations: 0.6556 MB / 0.8166 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.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.437463394831866]