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.002403/0.002403, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002765/0.002765, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.058/3.058, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.295e-06/2.295e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.873e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001732/0.001771, allocations: 0.6232 MB / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003077, allocations: 0.8481 MB / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.003111, allocations: 0 / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.003132, allocations: 4.812 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.003199, allocations: 0 / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.003352, allocations: 21.45 kB / 0.8122 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.00343, allocations: 31.91 kB / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.00352, allocations: 0 / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.003607, allocations: 19.98 kB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.00365, allocations: 13.55 kB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003668, allocations: 0 / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.003679, allocations: 4 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.003696, allocations: 4 kB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.003724, allocations: 11.98 kB / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.284e-05/0.003807, allocations: 25.64 kB / 0.8124 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003809, allocations: 0 / 0.8124 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00381, allocations: 0 / 0.8124 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003814, allocations: 0 / 0.8124 GB, free: 0.5742 MB / 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.0005027/0.004317, allocations: 353.6 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.004355, allocations: 12.03 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.004401, allocations: 8.891 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004526, allocations: 116.5 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.004546, allocations: 2.281 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.004554, allocations: 384 / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.004719, allocations: 50.23 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004727, allocations: 192 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.004736, allocations: 2.844 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.00474, allocations: 384 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.00488, allocations: 31.91 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.005254, allocations: 243.8 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005382, allocations: 47.03 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.005454, allocations: 28.45 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.005473, allocations: 4 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.005515, allocations: 33.92 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005516, allocations: 1.656 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003287/0.005845, allocations: 81.5 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.005892, allocations: 51.41 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.006022, allocations: 162.6 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.006041, allocations: 26.86 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.006128, allocations: 138.8 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.006143, allocations: 0 / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.006186, allocations: 19.38 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.006448, allocations: 0.4895 MB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.006507, allocations: 8 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.00656, allocations: 17.36 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.00667, allocations: 31.67 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.006672, allocations: 1.156 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.006848, allocations: 65.56 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006861, allocations: 4.625 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.006879, allocations: 4.656 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.006892, allocations: 3.938 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.006976, allocations: 8.844 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006981, allocations: 0 / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.007016, allocations: 1.844 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.007027, allocations: 7.984 kB / 0.8143 GB, free: 14.36 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 0.0001162/0.007144, allocations: 156.6 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.007167, allocations: 0 / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.007189, allocations: 12.03 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.007191, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.007197, allocations: 6.375 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.007199, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.007363, allocations: 120.6 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007364, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.007417, allocations: 8 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007418, allocations: 0 / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.007431, allocations: 7.984 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.007435, allocations: 5.906 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007436, allocations: 0 / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.007712, allocations: 203.9 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.007721, allocations: 3.953 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.007735, allocations: 4.484 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.007805, allocations: 9.281 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.007854, allocations: 7.984 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.00786, allocations: 4 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.174e-05/0.007942, allocations: 132.1 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007942, allocations: 0 / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002133/0.008155, allocations: 4.656 kB / 0.815 GB, free: 13.63 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.0001121/0.008267, allocations: 94.88 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.008451, allocations: 43.59 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008453, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.008533, allocations: 27.67 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.008917, allocations: 6.234 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.009296, allocations: 110.4 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.009377, allocations: 65.27 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.009407, allocations: 7.938 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.009451, allocations: 17.44 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of SimCode: time 4.7e-07/0.009451, allocations: 0 / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.003698/0.01315, allocations: 0.6515 MB / 0.816 GB, free: 12.58 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","/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: 8.185627573053353]