Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008402/0.0008402, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008458/0.0008458, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8711/0.8711, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.86e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001473/0.001502, allocations: 0.6079 MB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.002256, allocations: 0.8431 MB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.002287, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.002314, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.00237, allocations: 3.938 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.002508, allocations: 11.98 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.002573, allocations: 27.92 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.002666, allocations: 7.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.002737, allocations: 19.92 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.002782, allocations: 11.97 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.002807, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.002815, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.002829, allocations: 8 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.002848, allocations: 4 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.464e-05/0.002932, allocations: 35.81 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002935, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002937, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.002941, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 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.0003613/0.003302, allocations: 266.3 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.003339, allocations: 9.344 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.00337, allocations: 4.938 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.003446, allocations: 109.8 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.003467, allocations: 8.375 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003476, allocations: 4.375 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.003614, allocations: 50.23 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.003623, allocations: 192 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.003633, allocations: 384 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003637, allocations: 384 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.664e-05/0.003734, allocations: 39.89 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.004003, allocations: 196.6 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.004092, allocations: 46.55 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.004141, allocations: 24.89 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.004156, allocations: 4 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004175, allocations: 30.56 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004176, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002322/0.004408, allocations: 97.56 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.004439, allocations: 51.41 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.004499, allocations: 105.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.00451, allocations: 25.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.004541, allocations: 80.14 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.004558, allocations: 3.953 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.004585, allocations: 17.72 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.004661, allocations: 318.8 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.004712, allocations: 19.98 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.00475, allocations: 16.02 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.004837, allocations: 44.81 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004839, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.004952, allocations: 69.59 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.004968, allocations: 8 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.004973, allocations: 7.875 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.004985, allocations: 4.094 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.005059, allocations: 11.98 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005063, allocations: 0 / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.00509, allocations: 11.92 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005095, allocations: 0 / 1.004 GB, free: 9.574 MB / 0.9636 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 5.81e-05/0.005153, allocations: 109.8 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.005166, allocations: 4 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.005184, allocations: 7.25 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.005186, allocations: 0 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.00519, allocations: 4 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005192, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.00528, allocations: 105.3 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005281, allocations: 4 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.005312, allocations: 7.984 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005313, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.00532, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.005323, allocations: 7.938 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005323, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.005472, allocations: 176.2 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.005479, allocations: 4 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.00549, allocations: 4 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.005531, allocations: 11.92 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.005574, allocations: 7.984 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.005577, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.005604, allocations: 79.28 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005604, allocations: 0 / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001435/0.005748, allocations: 4 kB / 1.005 GB, free: 8.988 MB / 0.9636 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 8.395e-05/0.005832, allocations: 105.7 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.00597, allocations: 47.84 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005971, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.006016, allocations: 19.97 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.006238, allocations: 4 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.006491, allocations: 134.6 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.006534, allocations: 67.34 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.006562, allocations: 8.5 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.006563, allocations: 0 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of Templates: time 0.001478/0.008041, allocations: 0.6152 MB / 1.006 GB, free: 7.938 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.54427956789732]