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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008091/0.008091, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.00203/0.00203, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001792/0.3491, allocations: 0.6638 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.35, allocations: 0.8312 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.35, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.3501, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.3501, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.3503, allocations: 23.92 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.3504, allocations: 47.84 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3505, allocations: 15.97 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.3506, allocations: 16 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3507, allocations: 27.84 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3507, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.3507, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3507, allocations: 11.98 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.3508, allocations: 15.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3509, allocations: 43.8 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3509, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3509, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3509, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 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.000545/0.3514, allocations: 355.3 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3515, allocations: 15.95 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3515, allocations: 0.9375 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3516, allocations: 176.3 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3516, allocations: 12.36 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3517, allocations: 384 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3519, allocations: 74.2 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3519, allocations: 192 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3519, allocations: 3.938 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3519, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3521, allocations: 51.94 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3525, allocations: 284.8 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3527, allocations: 62.55 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3528, allocations: 28.91 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3528, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3528, allocations: 30.56 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3528, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004077/0.3532, allocations: 117.5 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3533, allocations: 51.41 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.3533, allocations: 105.8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3534, allocations: 29.7 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3534, allocations: 92.06 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3534, allocations: 11.84 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.3535, allocations: 17.72 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3536, allocations: 326.8 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.3537, allocations: 19.98 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.3538, allocations: 23.97 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3539, allocations: 56.69 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3539, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002291/0.3542, allocations: 89.61 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3542, allocations: 11.98 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3542, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3542, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3544, allocations: 11.98 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3544, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.3544, allocations: 4 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3544, allocations: 7.984 kB / 1.224 GB, free: 9.859 MB / 0.9825 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 9.041e-05/0.3545, allocations: 118.3 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.3546, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3546, allocations: 4.234 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3546, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3546, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3546, allocations: 7.922 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3548, allocations: 189.6 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3548, allocations: 256 / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3549, allocations: 11.98 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3549, allocations: 8 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3549, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3549, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3549, allocations: 4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3552, allocations: 183.4 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.3552, allocations: 77.11 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3552, allocations: 3.984 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.3553, allocations: 8 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.3554, allocations: 11.98 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.3554, allocations: 0 / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.3554, allocations: 91.27 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3554, allocations: 7.875 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002202/0.3557, allocations: 4 kB / 1.225 GB, free: 9.039 MB / 0.9825 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.0001143/0.3558, allocations: 101.8 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.356, allocations: 59.94 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.356, allocations: 0 / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3561, allocations: 23.98 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3564, allocations: 13.33 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.3568, allocations: 141.2 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3571, allocations: 0.6846 MB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.3571, allocations: 8.234 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3571, allocations: 7.438 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.3571, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of Templates: time 0.003752/0.3609, allocations: 0.8876 MB / 1.227 GB, free: 7.07 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) 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) Reference file matches