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.001069/0.001069, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009919/0.0009919, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.838/1.838, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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 1.744e-06/1.744e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.063e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001155/0.001175, allocations: 0.6654 MB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.001911, allocations: 0.8875 MB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.00195, allocations: 0 / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.001976, allocations: 4.5 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.002044, allocations: 0.5625 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.002181, allocations: 28.61 kB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.002254, allocations: 43.91 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.002346, allocations: 12.69 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.002425, allocations: 27.92 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.002473, allocations: 17.11 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.002494, allocations: 4 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-06/0.002503, allocations: 4 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.002522, allocations: 18.66 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.002544, allocations: 11.98 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.04e-05/0.002625, allocations: 39.83 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002627, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002627, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.002632, allocations: 0 / 0.7888 GB, free: 11.04 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.000386/0.003018, allocations: 372.5 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.003053, allocations: 9.5 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.003092, allocations: 8.891 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.003187, allocations: 112.6 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.003209, allocations: 8.375 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003221, allocations: 0.9688 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003356, allocations: 71.77 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003362, allocations: 192 / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003372, allocations: 1.188 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.003379, allocations: 384 / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.003424, allocations: 25.39 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.003731, allocations: 275.7 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.003822, allocations: 47.08 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.003852, allocations: 20.84 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.003864, allocations: 0 / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.003891, allocations: 45.27 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.003892, allocations: 0.5938 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.004079, allocations: 52.25 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.004111, allocations: 55.41 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.004193, allocations: 165.9 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.004205, allocations: 29.64 kB / 0.79 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.004258, allocations: 142.8 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.004276, allocations: 7.953 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.004315, allocations: 23.91 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.004425, allocations: 0.4884 MB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.004445, allocations: 4.719 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.004461, allocations: 4.531 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.004505, allocations: 35.88 kB / 0.7907 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004507, allocations: 1.625 kB / 0.7907 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.864e-05/0.004576, allocations: 53.64 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.004588, allocations: 9.969 kB / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.004591, allocations: 0.5938 kB / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004604, allocations: 0 / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.00468, allocations: 12.67 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.004685, allocations: 0 / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.004709, allocations: 4.688 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.004715, allocations: 4.984 kB / 0.7908 GB, free: 8.781 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 6.965e-05/0.004785, allocations: 164.5 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.0048, allocations: 5.312 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.004822, allocations: 12 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004824, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.004826, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004829, allocations: 1.812 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.138e-05/0.00492, allocations: 120.6 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004921, allocations: 0 / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.004952, allocations: 11.98 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004953, allocations: 0 / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.00496, allocations: 5.281 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.004962, allocations: 4 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.004965, allocations: 4 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.005071, allocations: 204.5 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.005078, allocations: 4.938 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005088, allocations: 7.875 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.005125, allocations: 4.781 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.00517, allocations: 15.97 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005173, allocations: 0 / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.005206, allocations: 128.8 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005206, allocations: 0 / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001374/0.005344, allocations: 8 kB / 0.7915 GB, free: 8.035 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 6.682e-05/0.00541, allocations: 104.1 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.005498, allocations: 33.83 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005499, allocations: 0 / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.005528, allocations: 23.61 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.005701, allocations: 11.95 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.005953, allocations: 128.4 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.005986, allocations: 59.34 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.006012, allocations: 4.5 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.006046, allocations: 17.02 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.006047, allocations: 1.906 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of Templates: time 0.002577/0.008623, allocations: 0.9696 MB / 0.7928 GB, free: 6.664 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.228339510038495]