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.001754/0.001754, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002109/0.002109, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.977/2.977, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.585e-06/2.585e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.975e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001769/0.001799, allocations: 0.6293 MB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003045, allocations: 0.8479 MB / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.00309, allocations: 0 / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.003132, allocations: 3.938 kB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.003194, allocations: 1.062 kB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.003343, allocations: 15.92 kB / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.003416, allocations: 27.92 kB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.003511, allocations: 8.953 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.003594, allocations: 15.98 kB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.003646, allocations: 11.92 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.003666, allocations: 5.406 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-06/0.003674, allocations: 0 / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.003691, allocations: 4 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.003723, allocations: 8.969 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.003811, allocations: 27.88 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003814, allocations: 0 / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003814, allocations: 5.125 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003818, allocations: 0 / 0.8124 GB, free: 0.5273 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.000668/0.004486, allocations: 255 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.004524, allocations: 11.97 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.004568, allocations: 10.14 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004695, allocations: 109.8 kB / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.004716, allocations: 384 / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.004729, allocations: 6.75 kB / 0.8127 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.00492, allocations: 54.22 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004928, allocations: 192 / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004937, allocations: 384 / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004944, allocations: 4.375 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.00517, allocations: 37.48 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.00555, allocations: 192.5 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.005713, allocations: 43.94 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.005815, allocations: 24.91 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.005834, allocations: 0 / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.005872, allocations: 35.08 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.005873, allocations: 0.5312 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004381/0.006311, allocations: 95.22 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.00636, allocations: 51.41 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.006464, allocations: 102.3 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.006486, allocations: 27.08 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.00655, allocations: 92.12 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.006566, allocations: 0 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.006607, allocations: 13.72 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.006777, allocations: 312 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.006875, allocations: 19.97 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.006972, allocations: 20.83 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.007151, allocations: 42.12 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007153, allocations: 1.156 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002463/0.0074, allocations: 70.48 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007414, allocations: 7.938 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.007422, allocations: 5.5 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.00744, allocations: 4 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.007544, allocations: 7.984 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.007549, allocations: 0 / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.00761, allocations: 13.03 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007616, allocations: 0 / 0.814 GB, free: 14.73 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 9.668e-05/0.007713, allocations: 117 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.007739, allocations: 3.984 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.00777, allocations: 15.25 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.007771, allocations: 0 / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007775, allocations: 0 / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.007777, allocations: 192 / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.007937, allocations: 101.3 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007938, allocations: 0 / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.008019, allocations: 16.47 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008021, allocations: 0 / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.008035, allocations: 9.938 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.008038, allocations: 3.938 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008039, allocations: 0 / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.00834, allocations: 168.9 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.00835, allocations: 3.953 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.008362, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.008456, allocations: 17.05 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.00851, allocations: 7.984 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.008513, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.00857, allocations: 84.19 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00857, allocations: 0 / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002336/0.008804, allocations: 4 kB / 0.8145 GB, free: 14.15 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.0001212/0.008925, allocations: 97.38 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.00916, allocations: 40.7 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009161, allocations: 0 / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.009271, allocations: 30.28 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.009559, allocations: 4 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.009906, allocations: 108.8 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.00998, allocations: 63.2 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.01001, allocations: 7.031 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.01005, allocations: 8.5 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01005, allocations: 4 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.003222/0.01327, allocations: 0.6546 MB / 0.8155 GB, free: 13.12 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=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: 7.955747765023261]