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.001815/0.001815, allocations: 79.67 kB / 19.18 MB, free: 2.52 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.002327/0.002327, allocations: 164.8 kB / 22.46 MB, free: 5.379 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 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.98/2.98, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.886e-06/2.886e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.565e-05, allocations: 9.594 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001698/0.001733, allocations: 0.6196 MB / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003021, allocations: 0.8393 MB / 0.9828 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.003057, allocations: 0 / 0.9828 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.003083, allocations: 3.938 kB / 0.9828 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.003148, allocations: 7.922 kB / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.003313, allocations: 23.86 kB / 0.9829 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.003394, allocations: 31.92 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.003484, allocations: 7.984 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.003562, allocations: 8 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.003612, allocations: 11.98 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003635, allocations: 4 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003643, allocations: 0 / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.003671, allocations: 11.92 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.003697, allocations: 11.92 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.569e-05/0.003792, allocations: 19.97 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.003795, allocations: 0 / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003796, allocations: 0 / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.0038, allocations: 8 kB / 0.983 GB, free: 10.4 MB / 0.9356 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.0005048/0.004305, allocations: 258.3 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.00435, allocations: 12.02 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.004385, allocations: 8.891 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.0045, allocations: 101.8 kB / 0.9833 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.004527, allocations: 4.375 kB / 0.9833 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.004537, allocations: 384 / 0.9833 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.004737, allocations: 54.17 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004746, allocations: 192 / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004755, allocations: 4.375 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.004763, allocations: 384 / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.004962, allocations: 43.89 kB / 0.9834 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.00534, allocations: 200.6 kB / 0.9836 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005496, allocations: 38.5 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.005618, allocations: 28.83 kB / 0.9837 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.005639, allocations: 8 kB / 0.9837 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.00567, allocations: 34.56 kB / 0.9837 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.005672, allocations: 0 / 0.9837 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004184/0.00609, allocations: 85.58 kB / 0.9838 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.006138, allocations: 51.41 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.006316, allocations: 109.8 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.006336, allocations: 25.7 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.006395, allocations: 88.03 kB / 0.9841 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.006411, allocations: 8.062 kB / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.00645, allocations: 17.72 kB / 0.9841 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002505/0.0067, allocations: 318.8 kB / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.006799, allocations: 15.98 kB / 0.9844 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.006884, allocations: 15.98 kB / 0.9844 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.007067, allocations: 40.81 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.007071, allocations: 8.062 kB / 0.9845 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002315/0.007303, allocations: 73.61 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.007319, allocations: 6.344 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.007327, allocations: 3.938 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.007342, allocations: 0 / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.007454, allocations: 15.92 kB / 0.9846 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.00746, allocations: 0 / 0.9846 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.007518, allocations: 7.984 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007524, allocations: 4.031 kB / 0.9846 GB, free: 8.57 MB / 0.9356 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.407e-05/0.007618, allocations: 109.8 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.007642, allocations: 4 kB / 0.9847 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.007664, allocations: 11.25 kB / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007666, allocations: 0 / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.00767, allocations: 0 / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.007672, allocations: 0 / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.007827, allocations: 109.3 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007828, allocations: 0 / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.007899, allocations: 7.984 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007901, allocations: 4 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.007909, allocations: 0 / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.007912, allocations: 7.938 kB / 0.9848 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007913, allocations: 3.938 kB / 0.9848 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.008195, allocations: 159.5 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.008211, allocations: 15.94 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.008226, allocations: 0 / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.008313, allocations: 7.938 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.008371, allocations: 8.016 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.008375, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.008424, allocations: 83.28 kB / 0.9851 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008424, allocations: 0 / 0.9851 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002213/0.008645, allocations: 4 kB / 0.9851 GB, free: 7.992 MB / 0.9356 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.0001244/0.00877, allocations: 99.23 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.009006, allocations: 39.95 kB / 0.9852 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009007, allocations: 4.062 kB / 0.9852 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.009114, allocations: 23.92 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.009433, allocations: 6.578 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.009771, allocations: 110.5 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.457e-05/0.009846, allocations: 59.34 kB / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.009881, allocations: 8.062 kB / 0.9854 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.009916, allocations: 8.5 kB / 0.9854 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.009916, allocations: 0 / 0.9854 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.003356/0.01327, allocations: 0.6446 MB / 0.9861 GB, free: 6.949 MB / 0.9356 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: 8.38281375914812]