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.001559/0.001559, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001729/0.001729, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.607/1.607, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.842/2.842, allocations: 359 MB / 0.6048 GB, free: 10.94 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.806e-06/2.806e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.574e-05, allocations: 6.062 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002137/0.002173, allocations: 0.6696 MB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.003651, allocations: 0.8594 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.003698, allocations: 0.5625 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.003735, allocations: 4.812 kB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.003833, allocations: 0 / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.004017, allocations: 28.56 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.004117, allocations: 43.91 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004235, allocations: 16.77 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004344, allocations: 23.92 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.004432, allocations: 24.7 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.004455, allocations: 4 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.004468, allocations: 4.75 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.004491, allocations: 7.938 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.004525, allocations: 12.55 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004671, allocations: 51.84 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004674, allocations: 1.25 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.448e-06/0.004683, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.004689, allocations: 0 / 0.7881 GB, free: 11.09 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.000593/0.005282, allocations: 275.9 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.005327, allocations: 12.03 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.005385, allocations: 4.938 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.005536, allocations: 114.8 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.005556, allocations: 8.375 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005568, allocations: 384 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.005815, allocations: 66.84 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005824, allocations: 192 / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.005838, allocations: 1.781 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005843, allocations: 384 / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.006081, allocations: 56.72 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.006561, allocations: 228.4 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.006815, allocations: 59.83 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.006944, allocations: 29.81 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.006969, allocations: 8 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.007012, allocations: 39.16 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007013, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000485/0.007498, allocations: 107.2 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.007562, allocations: 55.41 kB / 0.7891 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.007682, allocations: 107.4 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.007704, allocations: 25.7 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.007992, allocations: 92.06 kB / 0.7893 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.00802, allocations: 11.91 kB / 0.7893 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.008082, allocations: 18.75 kB / 0.7893 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.008287, allocations: 318.8 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.008409, allocations: 23.2 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.008528, allocations: 23.97 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.00875, allocations: 56.75 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008751, allocations: 4 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002876/0.009039, allocations: 85.92 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.009061, allocations: 8.656 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.009067, allocations: 0.5312 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.009089, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.009234, allocations: 12.52 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.00924, allocations: 1.625 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.009319, allocations: 11.94 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.009337, allocations: 15.97 kB / 0.7899 GB, free: 9.09 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.000127/0.009464, allocations: 107 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.009505, allocations: 7.938 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.009539, allocations: 8.938 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.009544, allocations: 4 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.009549, allocations: 3.938 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009554, allocations: 1.625 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.00976, allocations: 113.3 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009762, allocations: 0 / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.00987, allocations: 15.97 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.009873, allocations: 1.344 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.009887, allocations: 7.938 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009889, allocations: 0 / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.00989, allocations: 0.5 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.01027, allocations: 180 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01029, allocations: 4.562 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01031, allocations: 5.344 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01043, allocations: 7.984 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.01052, allocations: 15.92 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01053, allocations: 0.5312 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.01061, allocations: 91.22 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01061, allocations: 1.688 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002407/0.01085, allocations: 4 kB / 0.7904 GB, free: 8.473 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.0001695/0.01102, allocations: 99.23 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.01133, allocations: 53.39 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01133, allocations: 4 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01146, allocations: 29.66 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.01188, allocations: 13.47 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.01242, allocations: 133.9 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01253, allocations: 64.28 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.01259, allocations: 9.328 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.01265, allocations: 13.41 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01265, allocations: 0 / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.004526/0.01718, allocations: 0.9672 MB / 0.7918 GB, free: 7.086 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] 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.027794456924312]