Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001443/0.001443, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001778/0.001778, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.844/2.844, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.428e-06/4.428e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.936e-05/5.379e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00248/0.002534, allocations: 0.654 MB / 0.982 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.004298, allocations: 0.8548 MB / 0.9829 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.004361, allocations: 0 / 0.9829 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.004409, allocations: 7.922 kB / 0.9829 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.004522, allocations: 7.938 kB / 0.9829 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.004738, allocations: 19.97 kB / 0.9829 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004861, allocations: 43.91 kB / 0.983 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.005004, allocations: 11.94 kB / 0.983 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.005138, allocations: 39.91 kB / 0.983 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.005219, allocations: 15.97 kB / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.005249, allocations: 4 kB / 0.983 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.005264, allocations: 4 kB / 0.983 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.005298, allocations: 15.92 kB / 0.983 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.00534, allocations: 8 kB / 0.9831 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.005491, allocations: 47.84 kB / 0.9831 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.005495, allocations: 3.938 kB / 0.9831 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005495, allocations: 3.938 kB / 0.9831 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.005501, allocations: 0 / 0.9831 GB, free: 9.184 MB / 0.8887 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.0006603/0.006162, allocations: 286.2 kB / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.006227, allocations: 8.031 kB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.006273, allocations: 4.938 kB / 0.9834 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.006447, allocations: 109.7 kB / 0.9835 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.006468, allocations: 4.375 kB / 0.9835 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.006487, allocations: 8.375 kB / 0.9835 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.006734, allocations: 70.2 kB / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.006745, allocations: 192 / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.006757, allocations: 384 / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.006763, allocations: 4.375 kB / 0.9836 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.006999, allocations: 59.81 kB / 0.9836 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.007485, allocations: 220.6 kB / 0.9838 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.007711, allocations: 62.53 kB / 0.9839 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.007828, allocations: 24.92 kB / 0.9839 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.007851, allocations: 0 / 0.9839 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.007896, allocations: 42.44 kB / 0.984 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007897, allocations: 4 kB / 0.984 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004759/0.008373, allocations: 113.6 kB / 0.9841 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.008427, allocations: 51.41 kB / 0.9841 GB, free: 8 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008549, allocations: 105.8 kB / 0.9842 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.008573, allocations: 29.69 kB / 0.9843 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.00864, allocations: 84.14 kB / 0.9843 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.008666, allocations: 11.91 kB / 0.9844 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.008712, allocations: 21.7 kB / 0.9844 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.008893, allocations: 318.8 kB / 0.9847 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.008999, allocations: 19.98 kB / 0.9847 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.009098, allocations: 27.97 kB / 0.9847 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.009303, allocations: 57.02 kB / 0.9848 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.009305, allocations: 0 / 0.9848 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002461/0.009551, allocations: 85.64 kB / 0.9849 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.009568, allocations: 11.94 kB / 0.9849 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.009572, allocations: 0 / 0.9849 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.009588, allocations: 4 kB / 0.9849 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.009716, allocations: 11.98 kB / 0.9849 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.009723, allocations: 0 / 0.9849 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.009795, allocations: 11.92 kB / 0.9849 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.009803, allocations: 0 / 0.9849 GB, free: 7.172 MB / 0.8887 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 0.0001124/0.009916, allocations: 117.8 kB / 0.985 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.009946, allocations: 7.891 kB / 0.985 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.009974, allocations: 12 kB / 0.985 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009976, allocations: 3.938 kB / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.009979, allocations: 0 / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009983, allocations: 0 / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.01016, allocations: 121.4 kB / 0.9851 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01016, allocations: 0 / 0.9851 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.01025, allocations: 11.98 kB / 0.9852 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01025, allocations: 4 kB / 0.9852 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01026, allocations: 4.188 kB / 0.9852 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01026, allocations: 0 / 0.9852 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01026, allocations: 8 kB / 0.9852 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.01058, allocations: 179.5 kB / 0.9853 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.01059, allocations: 4 kB / 0.9853 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01061, allocations: 7.875 kB / 0.9854 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.01071, allocations: 7.984 kB / 0.9854 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.01076, allocations: 15.92 kB / 0.9854 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01077, allocations: 0 / 0.9854 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.01082, allocations: 91.27 kB / 0.9855 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.01082, allocations: 0 / 0.9855 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002119/0.01104, allocations: 8 kB / 0.9855 GB, free: 6.52 MB / 0.8887 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 0.0001258/0.01116, allocations: 99.25 kB / 0.9856 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.01143, allocations: 51.94 kB / 0.9856 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01143, allocations: 4 kB / 0.9856 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01155, allocations: 27.92 kB / 0.9856 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.01188, allocations: 13.55 kB / 0.9857 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.01227, allocations: 132.7 kB / 0.9858 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.01234, allocations: 63.34 kB / 0.9858 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.01238, allocations: 7.984 kB / 0.9859 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.01243, allocations: 12.5 kB / 0.9859 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.01243, allocations: 0 / 0.9859 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of Templates: time 0.003817/0.01624, allocations: 0.9526 MB / 0.9868 GB, free: 5.121 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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: 8.10414332523942]