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.001446/0.001446, allocations: 106.2 kB / 16.46 MB, free: 6.512 MB / 14.72 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.001528/0.001528, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 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.766/1.766, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.456/3.456, allocations: 0.49 GB / 0.7915 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.72 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4613, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002106/0.4635, allocations: 0.6259 MB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4648, allocations: 0.8592 MB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.4648, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.4648, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.4649, allocations: 3.938 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.4651, allocations: 23.91 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.4652, allocations: 31.86 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4653, allocations: 0 / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.4654, allocations: 15.98 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.4654, allocations: 15.92 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.4655, allocations: 4 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.4655, allocations: 4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.4655, allocations: 3.984 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.4655, allocations: 7.938 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.4656, allocations: 27.89 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4656, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4656, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4656, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 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.0005695/0.4662, allocations: 339.5 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4662, allocations: 19.92 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.4663, allocations: 0.9375 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4664, allocations: 168.3 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4665, allocations: 4.375 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4665, allocations: 4.375 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4667, allocations: 54.22 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4667, allocations: 192 / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.4667, allocations: 7.938 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4667, allocations: 0 / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.4669, allocations: 35.95 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.4673, allocations: 244.9 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4675, allocations: 46.53 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4676, allocations: 24.91 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.4676, allocations: 3.984 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4676, allocations: 38.55 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4676, allocations: 0 / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004431/0.4681, allocations: 85.69 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4681, allocations: 59.53 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.4682, allocations: 93.86 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4682, allocations: 25.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.4683, allocations: 92.12 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4683, allocations: 3.953 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.4684, allocations: 9.719 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4685, allocations: 318.8 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.4686, allocations: 19.97 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.4687, allocations: 19.98 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.4689, allocations: 40.81 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4689, allocations: 0 / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002263/0.4691, allocations: 81.53 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4691, allocations: 6.344 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.4691, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4691, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4692, allocations: 15.98 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4693, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.4693, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4693, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 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 9.133e-05/0.4694, allocations: 121.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.4694, allocations: 8.141 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.4695, allocations: 11.11 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4695, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4695, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4695, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4697, allocations: 165.5 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4697, allocations: 3.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.4697, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.4697, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4697, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4697, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4697, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.47, allocations: 167.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.4701, allocations: 77.11 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4701, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.4702, allocations: 12.02 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.4703, allocations: 8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4703, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.4703, allocations: 83.27 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4703, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002139/0.4705, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 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.0001389/0.4707, allocations: 95.25 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.4709, allocations: 51.89 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4709, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.471, allocations: 15.98 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.4714, allocations: 17.64 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.4718, allocations: 101.6 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.4722, allocations: 0.6768 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.4722, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.4723, allocations: 15.42 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4723, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of Templates: time 0.003478/0.4758, allocations: 0.6015 MB / 1.327 GB, free: 12.77 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.028488714247942]