Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00171/0.00171, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.002019/0.002019, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 66.31 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3347, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00226/0.337, allocations: 0.717 MB / 1.064 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3382, allocations: 0.839 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3383, allocations: 4 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.3384, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.3385, allocations: 7.938 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.3387, allocations: 19.98 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3388, allocations: 47.84 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.339, allocations: 11.98 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3391, allocations: 19.92 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.3392, allocations: 27.91 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.3392, allocations: 8 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.3393, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.3393, allocations: 7.984 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.3394, allocations: 23.86 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3395, allocations: 27.94 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3395, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.906e-06/0.3395, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.3395, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8419 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.0006619/0.3402, allocations: 351.7 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3402, allocations: 12.03 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3403, allocations: 8.922 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3404, allocations: 172.3 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3405, allocations: 4.312 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3405, allocations: 8.375 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3407, allocations: 62.22 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3407, allocations: 192 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3407, allocations: 3.938 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3408, allocations: 4 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.341, allocations: 51.94 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3414, allocations: 288.7 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3417, allocations: 70.53 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3418, allocations: 28.91 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3418, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3418, allocations: 34.56 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3418, allocations: 3.938 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000413/0.3423, allocations: 109.5 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3423, allocations: 59.41 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.3424, allocations: 109.8 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3424, allocations: 25.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.3425, allocations: 84.14 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3425, allocations: 15.8 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3426, allocations: 17.72 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3427, allocations: 314.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3428, allocations: 31.92 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/0.3429, allocations: 23.97 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3431, allocations: 56.75 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3431, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002295/0.3433, allocations: 81.59 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3433, allocations: 8 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3434, allocations: 7.984 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3434, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3435, allocations: 11.98 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3435, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.3436, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3436, allocations: 7.984 kB / 1.067 GB, free: 11.35 MB / 0.8419 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.155e-05/0.3437, allocations: 113.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3438, allocations: 7.906 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.3438, allocations: 7.906 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3438, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.3438, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3438, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.344, allocations: 181.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.344, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.3441, allocations: 15.98 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3441, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3442, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3442, allocations: 7.938 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3442, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3445, allocations: 179.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3445, allocations: 85 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3445, allocations: 3.984 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3446, allocations: 7.984 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.3447, allocations: 11.98 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3447, allocations: 8 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.3448, allocations: 91.52 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3448, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002258/0.345, allocations: 7.938 kB / 1.068 GB, free: 10.54 MB / 0.8419 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.0001182/0.3451, allocations: 99.25 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3454, allocations: 59.88 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3454, allocations: 7.938 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3456, allocations: 27.98 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3459, allocations: 7.922 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3463, allocations: 163.3 kB / 1.068 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3465, allocations: 0.6845 MB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.3466, allocations: 15.42 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3466, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.002213/0.3488, allocations: 0.7795 MB / 1.07 GB, free: 8.641 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches