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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001401/0.001401, allocations: 117 kB / 16.37 MB, free: 6.012 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.001469/0.00147, allocations: 191.8 kB / 17.31 MB, free: 5.613 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.88 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002811/0.3309, allocations: 0.6764 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3323, allocations: 0.835 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3324, allocations: 0 / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.3325, allocations: 3.938 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3326, allocations: 7.984 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.3328, allocations: 23.91 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3329, allocations: 51.91 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3331, allocations: 12 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.3332, allocations: 15.92 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3333, allocations: 31.89 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3333, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3333, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.3334, allocations: 8 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.3334, allocations: 23.86 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.3335, allocations: 43.86 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3335, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3335, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3336, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 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.0006336/0.3342, allocations: 351.4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.3343, allocations: 8.031 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3343, allocations: 4.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3345, allocations: 176.2 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3346, allocations: 4.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3346, allocations: 4.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3349, allocations: 66.16 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3349, allocations: 192 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3349, allocations: 7.938 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3349, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.3352, allocations: 43.95 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.3358, allocations: 292.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.336, allocations: 70.55 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3361, allocations: 28.89 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.3362, allocations: 3.984 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3362, allocations: 34.56 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.3362, allocations: 4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005044/0.3367, allocations: 109.5 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3368, allocations: 51.41 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3369, allocations: 113.8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.337, allocations: 29.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.337, allocations: 88.14 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3371, allocations: 7.812 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3371, allocations: 21.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3373, allocations: 314.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3375, allocations: 23.97 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.3376, allocations: 19.98 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3377, allocations: 64.69 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3378, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.338, allocations: 77.64 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3381, allocations: 8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3381, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3381, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3382, allocations: 11.98 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3383, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.3383, allocations: 15.98 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3384, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 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.0001107/0.3385, allocations: 113.7 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3385, allocations: 7.906 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3386, allocations: 15.83 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3386, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3386, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3386, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3388, allocations: 177.5 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3388, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.3389, allocations: 15.97 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3389, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3389, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3389, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3389, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.3393, allocations: 187.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.3394, allocations: 84.95 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3394, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.3395, allocations: 8.031 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3396, allocations: 15.97 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3396, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.3397, allocations: 91.53 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.196e-06/0.3397, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002469/0.3399, allocations: 7.938 kB / 1.031 GB, free: 13.23 MB / 0.8106 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.0001867/0.3401, allocations: 107.2 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3404, allocations: 47.95 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3404, allocations: 3.938 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3406, allocations: 35.97 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3409, allocations: 3.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.3415, allocations: 141.4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3418, allocations: 0.6807 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.3419, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.3419, allocations: 19.42 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3419, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.004092/0.346, allocations: 0.8722 MB / 1.033 GB, free: 11.26 MB / 0.8106 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 -s gbode -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