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.0009712/0.0009712, 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.0009694/0.0009694, 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.9552/0.9552, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.866/1.866, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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.814e-06/1.814e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.07e-05, allocations: 7.156 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001149/0.001169, allocations: 0.6337 MB / 0.8121 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.002044, allocations: 0.8634 MB / 0.813 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.002079, allocations: 0.625 kB / 0.813 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.002113, allocations: 3.938 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.002187, allocations: 5.391 kB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.00236, allocations: 23.86 kB / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.002436, allocations: 23.94 kB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002538, allocations: 9.234 kB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.002622, allocations: 8 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.002684, allocations: 19.91 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.002708, allocations: 4 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.002717, allocations: 0.6875 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.002737, allocations: 8.891 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.002761, allocations: 4 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.002847, allocations: 15.98 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.00285, allocations: 0.6562 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.81e-07/0.002851, allocations: 0 / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.002856, allocations: 0.75 kB / 0.8131 GB, free: 128 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.0004086/0.003264, allocations: 361.9 kB / 0.8134 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.003309, allocations: 8.031 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.003351, allocations: 4.938 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.00345, allocations: 120.5 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.003473, allocations: 2.438 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.003482, allocations: 4.312 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.003633, allocations: 58.94 kB / 0.8136 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003641, allocations: 192 / 0.8136 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.003653, allocations: 384 / 0.8136 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.003661, allocations: 5.281 kB / 0.8136 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.003694, allocations: 7.938 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.004018, allocations: 248.8 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.981e-05/0.004078, allocations: 35.06 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.004102, allocations: 16.42 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.004113, allocations: 0.6875 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004137, allocations: 45.38 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.004138, allocations: 0.5312 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.004286, allocations: 46.31 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.004318, allocations: 60.3 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.004384, allocations: 157.9 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.004393, allocations: 25.7 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.004431, allocations: 127.4 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.00445, allocations: 13.33 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.004475, allocations: 19.36 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.004596, allocations: 496.1 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.00461, allocations: 0 / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.004621, allocations: 5.25 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.004654, allocations: 19.67 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004656, allocations: 0.5938 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.285e-05/0.004709, allocations: 42.48 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.00472, allocations: 7.938 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.004725, allocations: 5.531 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004737, allocations: 0 / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.004806, allocations: 11.98 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.004811, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.004829, allocations: 1.531 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.004834, allocations: 0 / 0.815 GB, free: 14.01 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 7.07e-05/0.004905, allocations: 156.6 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.00493, allocations: 4.859 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.004954, allocations: 19.19 kB / 0.8151 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004956, allocations: 3.438 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.004959, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.004963, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.005086, allocations: 112.6 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005087, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.005128, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.00513, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.005137, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.005141, allocations: 7.938 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005142, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.005256, allocations: 197 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.005261, allocations: 0 / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.005271, allocations: 1.688 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.005308, allocations: 11.92 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.005349, allocations: 4 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.005354, allocations: 7.984 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.005384, allocations: 124.2 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/0.005385, allocations: 4 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001385/0.005523, allocations: 0 / 0.8156 GB, free: 13.31 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.254e-05/0.005586, allocations: 96.84 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.005663, allocations: 19.67 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005664, allocations: 0.5312 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.005687, allocations: 20.47 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.005855, allocations: 10.8 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.006075, allocations: 114.9 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.006108, allocations: 55.34 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.006127, allocations: 4.656 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.006154, allocations: 13.03 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.006155, allocations: 1.906 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.002182/0.008337, allocations: 0.682 MB / 0.8166 GB, free: 12.27 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.044429559260607]