Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002543/0.002543, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002007/0.002007, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.526/1.526, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.901/2.901, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.716e-06/2.716e-06, allocations: 0 / 0.7863 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.174e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002024/0.002056, allocations: 0.6676 MB / 0.787 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003308, allocations: 0.8639 MB / 0.7878 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.003351, allocations: 1 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.003382, allocations: 7.922 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.003471, allocations: 0.5938 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.00363, allocations: 31.84 kB / 0.7879 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.003724, allocations: 48.56 kB / 0.7879 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.003823, allocations: 8.75 kB / 0.7879 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003928, allocations: 27.95 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.003988, allocations: 21.02 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.004011, allocations: 4 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.004024, allocations: 4 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.004047, allocations: 9.141 kB / 0.788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.00408, allocations: 15.92 kB / 0.788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.004196, allocations: 39.92 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004199, allocations: 4.562 kB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.004201, allocations: 0 / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004205, allocations: 2.781 kB / 0.7881 GB, free: 10.97 MB / 0.7448 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.000577/0.004782, allocations: 372.2 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.004832, allocations: 8.031 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.004887, allocations: 8.875 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005066, allocations: 124.5 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.005085, allocations: 384 / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.005099, allocations: 4.375 kB / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.0053, allocations: 63.66 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.00531, allocations: 4.125 kB / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005321, allocations: 384 / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.005326, allocations: 384 / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.005496, allocations: 44.5 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.005997, allocations: 284.5 kB / 0.7889 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.006199, allocations: 63.81 kB / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.006286, allocations: 31.75 kB / 0.789 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.006305, allocations: 0.6875 kB / 0.789 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.006343, allocations: 42.02 kB / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.006343, allocations: 0 / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003584/0.006702, allocations: 90.56 kB / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.006754, allocations: 55.41 kB / 0.7892 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.006892, allocations: 171.3 kB / 0.7894 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.006915, allocations: 25.7 kB / 0.7894 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.007019, allocations: 138.9 kB / 0.7895 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.007045, allocations: 13.66 kB / 0.7895 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.007099, allocations: 23.38 kB / 0.7896 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004176/0.007517, allocations: 0.4923 MB / 0.79 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.007594, allocations: 11.98 kB / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.007658, allocations: 17.53 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.007806, allocations: 55.84 kB / 0.7901 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.007808, allocations: 0 / 0.7901 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002109/0.008019, allocations: 78.16 kB / 0.7902 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.008036, allocations: 7.938 kB / 0.7902 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00804, allocations: 1.906 kB / 0.7902 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008054, allocations: 0 / 0.7902 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.008166, allocations: 11.98 kB / 0.7902 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.008171, allocations: 0 / 0.7902 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.008222, allocations: 6.531 kB / 0.7902 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.00823, allocations: 0 / 0.7902 GB, free: 8.562 MB / 0.7448 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.0001276/0.008358, allocations: 160.6 kB / 0.7904 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.008391, allocations: 15.86 kB / 0.7904 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.00842, allocations: 8 kB / 0.7904 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008422, allocations: 3.938 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008426, allocations: 0.5312 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.008428, allocations: 0 / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.008607, allocations: 129.4 kB / 0.7905 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008608, allocations: 0 / 0.7905 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.008695, allocations: 12.52 kB / 0.7905 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008696, allocations: 1.625 kB / 0.7905 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.008707, allocations: 3.938 kB / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008708, allocations: 0 / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008709, allocations: 0 / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.009023, allocations: 228.8 kB / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.009032, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.009053, allocations: 9.109 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.00913, allocations: 3.984 kB / 0.7908 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.009191, allocations: 15.92 kB / 0.7908 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.009196, allocations: 0.5625 kB / 0.7908 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.009286, allocations: 136.1 kB / 0.7909 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009286, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002105/0.009496, allocations: 4 kB / 0.7909 GB, free: 7.785 MB / 0.7448 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.0001283/0.009625, allocations: 97.75 kB / 0.791 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.009852, allocations: 55.66 kB / 0.7911 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009853, allocations: 0 / 0.7911 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.009954, allocations: 36.48 kB / 0.7911 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.01022, allocations: 15.97 kB / 0.7911 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01059, allocations: 140.3 kB / 0.7913 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.555e-05/0.01067, allocations: 71.27 kB / 0.7913 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.01071, allocations: 6.156 kB / 0.7913 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.01076, allocations: 12.5 kB / 0.7913 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.01076, allocations: 0 / 0.7913 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of Templates: time 0.003898/0.01466, allocations: 0.9707 MB / 0.7923 GB, free: 6.363 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.004103470011614]