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.001869/0.001869, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002017/0.002017, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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 3.088/3.088, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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 1.833e-06/1.833e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.805e-05, allocations: 5.516 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001853/0.001881, allocations: 0.6752 MB / 0.8114 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003103, allocations: 0.8558 MB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.003147, allocations: 4 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.003171, allocations: 0.7812 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.003256, allocations: 5.625 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003415, allocations: 27.84 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.003503, allocations: 43.84 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003604, allocations: 15.98 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.003702, allocations: 23.98 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.003776, allocations: 25.42 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.0038, allocations: 4 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.003811, allocations: 4 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.00383, allocations: 8 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003867, allocations: 17.11 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.003978, allocations: 43.91 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00398, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003981, allocations: 1.594 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003984, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 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.0005649/0.004549, allocations: 372.3 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.004585, allocations: 12.03 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.004632, allocations: 11.48 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.005, allocations: 112.5 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.005017, allocations: 8.312 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.005027, allocations: 384 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.005201, allocations: 58.23 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005212, allocations: 4.188 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.005221, allocations: 5.031 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005225, allocations: 384 / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.005388, allocations: 40.44 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.005855, allocations: 289.3 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.006045, allocations: 67.03 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.006129, allocations: 27.75 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.006147, allocations: 0.5625 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.006186, allocations: 41.33 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.006187, allocations: 0.5 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003453/0.006533, allocations: 98.64 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.006588, allocations: 52.56 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.006731, allocations: 173.9 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.006751, allocations: 25.7 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.006838, allocations: 132.2 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.006863, allocations: 15.89 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.006917, allocations: 27.36 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002769/0.007194, allocations: 492.1 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.007274, allocations: 21.73 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.00734, allocations: 19.98 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.007482, allocations: 39.67 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007484, allocations: 0.9062 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002113/0.007695, allocations: 81.56 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.007715, allocations: 12.78 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.007722, allocations: 3.984 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.007736, allocations: 2.156 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.007844, allocations: 8 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.00785, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.007904, allocations: 7.984 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.007913, allocations: 256 / 0.8147 GB, free: 13.98 MB / 0.7761 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.000122/0.008035, allocations: 159.2 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.008064, allocations: 7.938 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.008091, allocations: 8 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.008097, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.008103, allocations: 7.938 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008105, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.008283, allocations: 124.6 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.008284, allocations: 5.594 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.008363, allocations: 12 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.008365, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.008378, allocations: 7.938 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.008383, allocations: 4.484 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008384, allocations: 0.5625 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.008693, allocations: 217.5 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.008706, allocations: 8 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008723, allocations: 3.938 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.008807, allocations: 7.984 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.008873, allocations: 8.484 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008879, allocations: 4 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.00896, allocations: 128.2 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00896, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002146/0.009175, allocations: 11.94 kB / 0.8154 GB, free: 13.21 MB / 0.7761 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.0001158/0.009291, allocations: 102.9 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.009514, allocations: 51.66 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009516, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.009614, allocations: 35.67 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009852, allocations: 6.25 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.01021, allocations: 143.9 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.01029, allocations: 79.09 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.01035, allocations: 5 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.0104, allocations: 21.61 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.0104, allocations: 0 / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.003959/0.01436, allocations: 0.9591 MB / 0.8167 GB, free: 11.79 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] 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.207676243036985]