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.001033/0.001033, allocations: 80.39 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.001249/0.001249, allocations: 171.1 kB / 24.87 MB, free: 8.891 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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 3.346e-06/3.346e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.806e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00203/0.002069, allocations: 0.6286 MB / 0.8134 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.003039, allocations: 0.8651 MB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.003079, allocations: 0 / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.003108, allocations: 4.375 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.003184, allocations: 4.938 kB / 0.8142 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.003329, allocations: 15.88 kB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.829e-05/0.003397, allocations: 28.7 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.003488, allocations: 11.98 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.00356, allocations: 9.688 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.003607, allocations: 15.97 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.003625, allocations: 4 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.003633, allocations: 0 / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.003654, allocations: 3.938 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.003676, allocations: 13.52 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.003763, allocations: 11.98 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003766, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003767, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003773, allocations: 0.6562 kB / 0.8143 GB, free: 15.86 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.0004395/0.004212, allocations: 365.5 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.004251, allocations: 11.97 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004285, allocations: 8.938 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.004389, allocations: 114.2 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.004411, allocations: 384 / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.004417, allocations: 384 / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.00456, allocations: 58.94 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004569, allocations: 2.781 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004577, allocations: 384 / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.004585, allocations: 4.375 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.004611, allocations: 3.938 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.004904, allocations: 240.3 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.004962, allocations: 31.06 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.004984, allocations: 16.28 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.004998, allocations: 0.7188 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.005033, allocations: 41.38 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005034, allocations: 0.5312 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.005188, allocations: 51.19 kB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.005224, allocations: 51.41 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.005309, allocations: 157.9 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005321, allocations: 26.2 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.005371, allocations: 130.9 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.005394, allocations: 12.55 kB / 0.8156 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.005421, allocations: 16.16 kB / 0.8156 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.005573, allocations: 0.4884 MB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.005586, allocations: 1.156 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.005598, allocations: 4 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.00563, allocations: 13.06 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.005633, allocations: 0 / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.825e-05/0.005701, allocations: 45.62 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.005716, allocations: 9.75 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005721, allocations: 0 / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.005736, allocations: 3.938 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.005817, allocations: 7.984 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00582, allocations: 0.5938 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.005841, allocations: 4 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005845, allocations: 1.125 kB / 0.8162 GB, free: 13.78 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 8.111e-05/0.005926, allocations: 160.6 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.005941, allocations: 1 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.005966, allocations: 3.312 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.005969, allocations: 4.781 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.005972, allocations: 0 / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.005976, allocations: 4 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.006077, allocations: 99.47 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006079, allocations: 4.188 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.006104, allocations: 7.984 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.006105, allocations: 0 / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.006112, allocations: 7.922 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006114, allocations: 3.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006114, allocations: 2.781 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.00623, allocations: 195.8 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.006236, allocations: 0 / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006247, allocations: 8 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.006278, allocations: 0 / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.006325, allocations: 7.984 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.006329, allocations: 5.438 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.006374, allocations: 123.2 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006374, allocations: 0 / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001378/0.006512, allocations: 8 kB / 0.8168 GB, free: 13.1 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 0.0001071/0.006619, allocations: 100.2 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.006709, allocations: 16.19 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.006709, allocations: 1.375 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.006733, allocations: 15.69 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.006935, allocations: 12.58 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.007197, allocations: 111.1 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.007234, allocations: 58.98 kB / 0.8171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.007257, allocations: 4 kB / 0.8171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.007316, allocations: 74.19 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.007317, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.002436/0.009753, allocations: 0.7133 MB / 0.8179 GB, free: 11.96 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.391294687055051]