Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007321/0.007321, allocations: 99.66 kB / 15.73 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 196.5 kB / 16.68 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.88/2.88, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 60.14 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4663, allocations: 151.6 MB / 1.167 GB, free: 6.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002365/0.4687, allocations: 0.6554 MB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.4701, allocations: 0.8432 MB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/0.4702, allocations: 4 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.4702, allocations: 3.938 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.4703, allocations: 3.938 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.4705, allocations: 19.92 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.4707, allocations: 35.97 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.4708, allocations: 23.92 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4709, allocations: 23.92 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.471, allocations: 19.91 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4711, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.4711, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.4711, allocations: 19.91 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.4712, allocations: 15.94 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.4714, allocations: 47.73 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4714, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.627e-06/0.4714, allocations: 0 / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.4714, allocations: 0 / 1.168 GB, free: 5.145 MB / 0.92 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.0007348/0.4721, allocations: 351.3 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.4722, allocations: 12.03 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.4723, allocations: 4.922 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4725, allocations: 176.3 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4725, allocations: 4.312 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4725, allocations: 8.375 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4728, allocations: 66.22 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4728, allocations: 4.188 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4728, allocations: 3.938 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4728, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.473, allocations: 51.94 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.4736, allocations: 288.7 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.4738, allocations: 62.55 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.474, allocations: 28.91 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.474, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4741, allocations: 34.56 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4741, allocations: 0 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004675/0.4746, allocations: 121.6 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4746, allocations: 51.41 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.4747, allocations: 109.8 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4747, allocations: 25.7 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4749, allocations: 84.14 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.4749, allocations: 15.89 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.475, allocations: 21.72 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4752, allocations: 318.8 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4753, allocations: 19.98 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.4754, allocations: 23.97 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4756, allocations: 56.75 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4756, allocations: 0 / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003399/0.476, allocations: 89.59 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.476, allocations: 4 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.476, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.476, allocations: 3.984 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4762, allocations: 11.98 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.4762, allocations: 7.984 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.4763, allocations: 7.953 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4763, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 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.0001929/0.4765, allocations: 125.7 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.4766, allocations: 7.938 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.4766, allocations: 3.906 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4766, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4766, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4766, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.4769, allocations: 181.6 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4769, allocations: 0 / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.477, allocations: 15.98 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.477, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.477, allocations: 7.938 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.477, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.477, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4774, allocations: 183.4 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.4774, allocations: 81.05 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4774, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.4775, allocations: 7.984 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.4776, allocations: 11.98 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4776, allocations: 4.25 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.4777, allocations: 91.27 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4777, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002547/0.478, allocations: 8 kB / 1.171 GB, free: 2.066 MB / 0.92 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.000138/0.4781, allocations: 99.25 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.4784, allocations: 59.89 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4784, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4785, allocations: 27.97 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4789, allocations: 15.92 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.4793, allocations: 121.8 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4797, allocations: 0.6846 MB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.993e-05/0.4798, allocations: 4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.4798, allocations: 19.36 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/0.4799, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of Templates: time 0.003859/0.4837, allocations: 0.8828 MB / 1.173 GB, free: 108 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches