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.001903/0.001903, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002158/0.002158, allocations: 214.5 kB / 22.99 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.183/3.183, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.002073/0.002073, allocations: 69.64 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3148, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001902/0.3167, allocations: 0.6104 MB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3177, allocations: 0.8514 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.3178, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.3178, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.3178, allocations: 11.92 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.318, allocations: 11.98 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.3181, allocations: 31.86 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.3181, allocations: 4 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.3182, allocations: 8 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.3183, allocations: 19.91 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3183, allocations: 0 / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.3183, allocations: 4 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.3183, allocations: 4 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.3183, allocations: 15.92 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.868e-05/0.3184, allocations: 19.91 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3184, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3184, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3184, allocations: 0 / 1.328 GB, free: 272 kB / 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.0004834/0.3189, allocations: 262.3 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3189, allocations: 8.031 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.319, allocations: 4.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3191, allocations: 122.4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3191, allocations: 12.36 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3192, allocations: 4.375 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3193, allocations: 54.17 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3193, allocations: 192 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3194, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3194, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3195, allocations: 35.95 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.3199, allocations: 196.6 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.32, allocations: 42.56 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.3201, allocations: 24.89 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3201, allocations: 3.938 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3201, allocations: 34.56 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3201, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003667/0.3205, allocations: 89.67 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3205, allocations: 55.34 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.3206, allocations: 101.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3207, allocations: 29.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3207, allocations: 80.14 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3207, allocations: 7.953 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3208, allocations: 13.72 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3209, allocations: 314.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.321, allocations: 19.98 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.3211, allocations: 20.02 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3212, allocations: 40.81 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3212, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.3214, allocations: 73.53 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3215, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3215, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3215, allocations: 4.094 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.3216, allocations: 7.984 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3216, allocations: 3.984 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.3216, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3216, allocations: 7.984 kB / 1.329 GB, free: 14.43 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.08e-05/0.3217, allocations: 110.4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3218, allocations: 7.891 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.3218, allocations: 7.312 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3218, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3218, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3218, allocations: 3.938 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.3219, allocations: 109.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3219, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.322, allocations: 11.98 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.322, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.322, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.322, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.322, allocations: 4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3223, allocations: 171.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.3223, allocations: 3.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.3223, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.3224, allocations: 8.172 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.3225, allocations: 11.98 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3225, allocations: 3.984 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.3225, allocations: 83.28 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3225, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002132/0.3227, allocations: 4 kB / 1.33 GB, free: 13.84 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.0001041/0.3228, allocations: 99.28 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.323, allocations: 43.83 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.323, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.3231, allocations: 23.97 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3234, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3237, allocations: 135.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.3238, allocations: 59.34 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.3238, allocations: 15.44 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3238, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Templates: time 0.002147/0.326, allocations: 0.6033 MB / 1.331 GB, free: 12.8 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/jenkins1/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.814146819990128]