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.0009827/0.0009827, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001008/0.001008, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.834/1.834, allocations: 359 MB / 0.6063 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] 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 8.917e-06/8.917e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/4.084e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00236/0.0024, allocations: 0.6745 MB / 0.7889 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003648, allocations: 0.8757 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.0037, allocations: 0.5625 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.003735, allocations: 8.734 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.003829, allocations: 11.88 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004004, allocations: 20.83 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.812e-05/0.004103, allocations: 47.89 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004223, allocations: 4.656 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004337, allocations: 35.91 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.004408, allocations: 16.62 kB / 0.7899 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.004434, allocations: 4 kB / 0.7899 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.004446, allocations: 4.844 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.004474, allocations: 15.92 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.004499, allocations: 12.94 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004618, allocations: 39.81 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.004622, allocations: 0 / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004623, allocations: 2.906 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004628, allocations: 0 / 0.79 GB, free: 10.45 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.0004955/0.005124, allocations: 372.6 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.005168, allocations: 12.03 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.005208, allocations: 4.891 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.005309, allocations: 108.6 kB / 0.7905 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.005331, allocations: 4.375 kB / 0.7905 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.005341, allocations: 5.688 kB / 0.7905 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.005505, allocations: 66.86 kB / 0.7906 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.005513, allocations: 4.188 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005522, allocations: 0.9688 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.005528, allocations: 384 / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.005574, allocations: 20.92 kB / 0.7906 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.005918, allocations: 248.4 kB / 0.7908 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.00603, allocations: 53.2 kB / 0.7909 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.006058, allocations: 15.8 kB / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.006072, allocations: 0 / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.006097, allocations: 37.38 kB / 0.7909 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.006098, allocations: 1.281 kB / 0.7909 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.006285, allocations: 61.61 kB / 0.791 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.006324, allocations: 55.34 kB / 0.791 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.00641, allocations: 164.3 kB / 0.7912 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.006425, allocations: 25.7 kB / 0.7912 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.006487, allocations: 138.8 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.00651, allocations: 11.95 kB / 0.7914 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.006552, allocations: 23.36 kB / 0.7914 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.006729, allocations: 496.1 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.006756, allocations: 4.531 kB / 0.7919 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.006776, allocations: 7.984 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.006825, allocations: 20.69 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006827, allocations: 4.469 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/0.00693, allocations: 63.41 kB / 0.792 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.006951, allocations: 10.33 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.006958, allocations: 3.938 kB / 0.792 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.006969, allocations: 4 kB / 0.792 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.007062, allocations: 8.625 kB / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007065, allocations: 0 / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.007099, allocations: 8.672 kB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007106, allocations: 0 / 0.792 GB, free: 8.234 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.0001231/0.007229, allocations: 157.3 kB / 0.7921 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007255, allocations: 0.8438 kB / 0.7921 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.007283, allocations: 15.94 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007285, allocations: 1.375 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.007288, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00729, allocations: 0 / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.007432, allocations: 109.2 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007433, allocations: 1.812 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.007491, allocations: 11.98 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007492, allocations: 0 / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.007501, allocations: 0 / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.007503, allocations: 0.5625 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.007506, allocations: 3.938 kB / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.007675, allocations: 208.6 kB / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.007683, allocations: 0 / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.007695, allocations: 0.8438 kB / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.00776, allocations: 4 kB / 0.7925 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.007812, allocations: 21.69 kB / 0.7925 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007817, allocations: 0 / 0.7925 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.007866, allocations: 123.2 kB / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007866, allocations: 0 / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002252/0.008091, allocations: 12 kB / 0.7926 GB, free: 7.527 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.0001156/0.008207, allocations: 106.3 kB / 0.7927 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.00831, allocations: 27.61 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008312, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.008348, allocations: 15.69 kB / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.008624, allocations: 19.92 kB / 0.7928 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.008936, allocations: 132.2 kB / 0.7929 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.009063, allocations: 59.34 kB / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.009104, allocations: 5 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.00918, allocations: 76.06 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.009181, allocations: 4 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.003513/0.01269, allocations: 1.055 MB / 0.7941 GB, free: 6.008 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.079442964866757]