Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 185.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 79.86 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002335/1.034, allocations: 0.6302 MB / 1.219 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001455/1.035, allocations: 0.8326 MB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/1.035, allocations: 0 / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/1.035, allocations: 5.312 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/1.036, allocations: 0 / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/1.036, allocations: 19.86 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/1.036, allocations: 25.97 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/1.036, allocations: 6.406 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/1.036, allocations: 19.95 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/1.036, allocations: 9.031 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/1.036, allocations: 2.812 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/1.036, allocations: 1.312 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/1.036, allocations: 13.14 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/1.036, allocations: 10.58 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/1.036, allocations: 20 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.036, allocations: 1.188 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/1.036, allocations: 0 / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.036, allocations: 0 / 1.22 GB, free: 2.457 MB / 0.92 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.0005619/1.037, allocations: 347.5 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/1.037, allocations: 9.656 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/1.037, allocations: 1.938 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.037, allocations: 165.6 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.037, allocations: 1.406 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/1.037, allocations: 1.562 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/1.037, allocations: 54.64 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.037, allocations: 192 / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.037, allocations: 9.156 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.037, allocations: 3.984 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/1.038, allocations: 36.09 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/1.038, allocations: 245.4 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/1.038, allocations: 47.25 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/1.038, allocations: 31 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/1.038, allocations: 5 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.038, allocations: 31.66 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.038, allocations: 0 / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/1.039, allocations: 82.55 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.039, allocations: 59.52 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/1.039, allocations: 99.3 kB / 1.221 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.039, allocations: 27.02 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/1.039, allocations: 84.08 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/1.039, allocations: 9.234 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/1.039, allocations: 16.64 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.039, allocations: 311.8 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/1.039, allocations: 26.23 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/1.039, allocations: 21.66 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/1.039, allocations: 36.64 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.039, allocations: 0 / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/1.04, allocations: 77.31 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.04, allocations: 5.156 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.04, allocations: 1.188 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.04, allocations: 0 / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.04, allocations: 10.14 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/1.04, allocations: 1 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/1.04, allocations: 15.06 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/1.04, allocations: 5 kB / 1.222 GB, free: 0.6133 MB / 0.92 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.0001209/1.04, allocations: 123.9 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/1.04, allocations: 0.9062 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/1.04, allocations: 4.344 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.04, allocations: 0 / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.04, allocations: 5.172 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.04, allocations: 0 / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.04, allocations: 162.8 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.04, allocations: 0 / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/1.04, allocations: 14.67 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/1.04, allocations: 0 / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/1.04, allocations: 5.25 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.04, allocations: 0 / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.04, allocations: 0 / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/1.041, allocations: 164.7 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/1.041, allocations: 86.22 kB / 1.222 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.041, allocations: 0.875 kB / 1.222 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/1.041, allocations: 11.12 kB / 1.222 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/1.041, allocations: 6.172 kB / 1.222 GB, free: 0 / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/1.041, allocations: 1 kB / 1.222 GB, free: 0 / 0.92 GB Notification: Performance of sorting global known variables: time 8.837e-05/1.041, allocations: 86.59 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0.7812 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000228/1.041, allocations: 3.156 kB / 1.222 GB, free: 15.91 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.0001461/1.041, allocations: 98.86 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000266/1.042, allocations: 42.36 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.042, allocations: 1.281 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.042, allocations: 20.27 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/1.042, allocations: 7.094 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/1.042, allocations: 122.4 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.043, allocations: 0.6801 MB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.494e-05/1.043, allocations: 3.125 kB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/1.043, allocations: 9.531 kB / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.043, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.004003/1.047, allocations: 0.6204 MB / 1.224 GB, free: 14.63 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.54662036523223]