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.001134/0.001134, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001033/0.001033, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.946/0.946, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.78/1.78, allocations: 377.9 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.893e-06/1.893e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.709e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001622/0.001649, allocations: 0.6234 MB / 0.9828 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002746, allocations: 0.8432 MB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.002783, allocations: 0 / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.002815, allocations: 3.938 kB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.002881, allocations: 3.938 kB / 0.9836 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.003052, allocations: 19.86 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.003131, allocations: 27.92 kB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003233, allocations: 4 kB / 0.9837 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.003312, allocations: 15.98 kB / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.003364, allocations: 15.97 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.003391, allocations: 0 / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.003401, allocations: 8 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.003417, allocations: 0 / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003446, allocations: 11.94 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.003537, allocations: 27.94 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003539, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00354, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.003544, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 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.0003962/0.003941, allocations: 262.3 kB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.003982, allocations: 11.97 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.004016, allocations: 4.891 kB / 0.984 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.004107, allocations: 113.8 kB / 0.9841 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.004129, allocations: 384 / 0.9841 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.00414, allocations: 4.375 kB / 0.9841 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.004315, allocations: 54.17 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.004323, allocations: 192 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004333, allocations: 384 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004338, allocations: 384 / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.004472, allocations: 39.89 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.004938, allocations: 192.6 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.005048, allocations: 46.56 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.005116, allocations: 24.83 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.005133, allocations: 0 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.005158, allocations: 42.5 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005159, allocations: 0 / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003136/0.005472, allocations: 93.67 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.005508, allocations: 51.41 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.005577, allocations: 97.84 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005588, allocations: 25.7 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.005631, allocations: 96.03 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.00565, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.005681, allocations: 13.72 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.005779, allocations: 318.8 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.005841, allocations: 19.92 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.005895, allocations: 20.02 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.00601, allocations: 40.81 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006012, allocations: 0 / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.006171, allocations: 73.61 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.006185, allocations: 4 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.00619, allocations: 8.031 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.006203, allocations: 4 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.006287, allocations: 7.984 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.006295, allocations: 0 / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.006328, allocations: 4 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.006335, allocations: 11.92 kB / 0.9853 GB, free: 14.66 MB / 0.948 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 6.405e-05/0.006399, allocations: 105.8 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.00642, allocations: 0 / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.006442, allocations: 15.25 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006444, allocations: 0 / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006449, allocations: 4 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006452, allocations: 0 / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006565, allocations: 105.4 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.006566, allocations: 0 / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.006611, allocations: 15.98 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006614, allocations: 3.984 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006621, allocations: 0 / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.006623, allocations: 3.938 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006624, allocations: 0 / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.006812, allocations: 167.5 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.00682, allocations: 7.891 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006832, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.006894, allocations: 19.86 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.006942, allocations: 7.984 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006946, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.006981, allocations: 83.28 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006981, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002315/0.007213, allocations: 4 kB / 0.9859 GB, free: 14.07 MB / 0.948 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 9.516e-05/0.007308, allocations: 99.28 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007482, allocations: 35.95 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007483, allocations: 4 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.007549, allocations: 23.97 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.007817, allocations: 3.938 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.008107, allocations: 138.5 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.008158, allocations: 67.34 kB / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.008197, allocations: 8.5 kB / 0.9862 GB, free: 13.64 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.008198, allocations: 0 / 0.9862 GB, free: 13.64 MB / 0.948 GB Notification: Performance of Templates: time 0.001755/0.009953, allocations: 0.6169 MB / 0.9868 GB, free: 13.03 MB / 0.948 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: 6.880081159062684]