Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 181 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 443.2 MB / 0.7181 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 8.656 kB / 0.8801 GB, free: 41.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2771, allocations: 155.2 MB / 1.032 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008272/0.278, allocations: 396.1 kB / 1.032 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.2788, allocations: 0.8312 MB / 1.033 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.2789, allocations: 0 / 1.033 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2789, allocations: 0 / 1.033 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.279, allocations: 3.938 kB / 1.033 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.2791, allocations: 19.98 kB / 1.033 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.2792, allocations: 43.91 kB / 1.033 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.2793, allocations: 19.92 kB / 1.033 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.2794, allocations: 15.98 kB / 1.033 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.2794, allocations: 15.92 kB / 1.033 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2795, allocations: 4 kB / 1.033 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.2795, allocations: 0 / 1.033 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2795, allocations: 11.92 kB / 1.033 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2795, allocations: 37.62 kB / 1.033 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.2796, allocations: 31.92 kB / 1.033 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2796, allocations: 4 kB / 1.033 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2796, allocations: 0 / 1.033 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2796, allocations: 0 / 1.033 GB, free: 3.109 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004301/0.2801, allocations: 347.7 kB / 1.033 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2801, allocations: 8.031 kB / 1.033 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.2801, allocations: 12.78 kB / 1.033 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2803, allocations: 164.4 kB / 1.034 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.2803, allocations: 8.375 kB / 1.034 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2803, allocations: 384 / 1.034 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2805, allocations: 78.16 kB / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2806, allocations: 4.172 kB / 1.034 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2806, allocations: 7.875 kB / 1.034 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2806, allocations: 0 / 1.034 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2808, allocations: 63.95 kB / 1.034 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.2812, allocations: 296.6 kB / 1.034 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.2814, allocations: 70.89 kB / 1.034 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2815, allocations: 36.91 kB / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2815, allocations: 0 / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2815, allocations: 34.56 kB / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.2816, allocations: 0 / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003756/0.2819, allocations: 125.6 kB / 1.034 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.282, allocations: 55.41 kB / 1.034 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.282, allocations: 105.8 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2821, allocations: 25.7 kB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.2821, allocations: 92.05 kB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.2821, allocations: 7.891 kB / 1.034 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.2821, allocations: 13.72 kB / 1.035 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.2822, allocations: 314.8 kB / 1.035 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2823, allocations: 31.97 kB / 1.035 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.2824, allocations: 23.98 kB / 1.035 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.2826, allocations: 72.75 kB / 1.035 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2827, allocations: 0 / 1.035 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002422/0.2829, allocations: 101.5 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2829, allocations: 4 kB / 1.035 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2829, allocations: 0 / 1.035 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2829, allocations: 0 / 1.035 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.283, allocations: 19.98 kB / 1.035 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2831, allocations: 0 / 1.035 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.2831, allocations: 15.92 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2831, allocations: 4 kB / 1.035 GB, free: 0.7812 MB / 0.7794 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.37e-05/0.2832, allocations: 115.3 kB / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2832, allocations: 0 / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.2833, allocations: 15.89 kB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2833, allocations: 0 / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2833, allocations: 4 kB / 1.035 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-06/0.2833, allocations: 0 / 1.035 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2834, allocations: 173.5 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2834, allocations: 336 / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.2835, allocations: 15.98 kB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2836, allocations: 0 / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2836, allocations: 4.234 kB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2836, allocations: 4 kB / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2836, allocations: 8 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.2839, allocations: 207.2 kB / 1.036 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.2839, allocations: 77.11 kB / 1.036 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2839, allocations: 12 kB / 1.036 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.284, allocations: 7.984 kB / 1.036 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2841, allocations: 7.984 kB / 1.036 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2841, allocations: 0 / 1.036 GB, free: 48 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.2841, allocations: 87.28 kB / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2841, allocations: 0 / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002043/0.2843, allocations: 4 kB / 1.036 GB, free: 15.96 MB / 0.795 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.573e-05/0.2844, allocations: 107.2 kB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2847, allocations: 63.89 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2847, allocations: 4 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2848, allocations: 35.97 kB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2851, allocations: 11.94 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.2854, allocations: 170.1 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2856, allocations: 0.6848 MB / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.2856, allocations: 11.44 kB / 1.037 GB, free: 14.8 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2856, allocations: 0 / 1.037 GB, free: 14.8 MB / 0.795 GB Notification: Performance of Templates: time 0.001657/0.2873, allocations: 0.7787 MB / 1.038 GB, free: 14.03 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches