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.00135/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001324/0.001325, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.78 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3817, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002406/0.3842, allocations: 0.717 MB / 1.053 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3854, allocations: 0.8312 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.3854, allocations: 4 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.3855, allocations: 7.875 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/0.3856, allocations: 0 / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3858, allocations: 19.98 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.3859, allocations: 39.92 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.386, allocations: 23.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.3861, allocations: 15.92 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.3862, allocations: 31.86 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3862, allocations: 0 / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.3863, allocations: 4 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.3863, allocations: 7.984 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3864, allocations: 19.86 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3865, allocations: 39.86 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3865, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3865, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3865, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 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.0005982/0.3871, allocations: 363.6 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3872, allocations: 8.031 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.3872, allocations: 4.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3874, allocations: 168.3 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3874, allocations: 4.375 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3874, allocations: 384 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3877, allocations: 74.19 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3877, allocations: 4.125 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3877, allocations: 3.938 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3877, allocations: 4 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.3879, allocations: 55.94 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.3884, allocations: 280.8 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3887, allocations: 66.48 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3888, allocations: 36.91 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3888, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3888, allocations: 30.56 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3888, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004487/0.3893, allocations: 113.5 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3894, allocations: 63.33 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.3895, allocations: 101.9 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3895, allocations: 25.7 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3896, allocations: 88.12 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3896, allocations: 15.75 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3896, allocations: 17.72 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3898, allocations: 314.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3899, allocations: 23.98 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.39, allocations: 27.97 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3902, allocations: 56.75 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3902, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002288/0.3904, allocations: 81.64 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3904, allocations: 8 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3905, allocations: 3.938 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3905, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3906, allocations: 19.92 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3906, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.3907, allocations: 8.234 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3907, allocations: 4 kB / 1.056 GB, free: 4.812 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 9.145e-05/0.3908, allocations: 117.8 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3909, allocations: 7.906 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3909, allocations: 7.906 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3909, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3909, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3909, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3911, allocations: 177.6 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3911, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.3912, allocations: 15.98 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3912, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3912, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3912, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3912, allocations: 4 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3915, allocations: 183.4 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3916, allocations: 96.88 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3916, allocations: 4 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.3917, allocations: 4 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.3918, allocations: 11.98 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3918, allocations: 3.984 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.3918, allocations: 83.28 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 0 / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002181/0.3921, allocations: 8 kB / 1.057 GB, free: 4 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.0001334/0.3922, allocations: 99.25 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3925, allocations: 55.94 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3925, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3926, allocations: 32.38 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3929, allocations: 11.94 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.3933, allocations: 139.1 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3936, allocations: 0.6848 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.719e-05/0.3936, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.3937, allocations: 11.44 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.3937, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of Templates: time 0.003079/0.3968, allocations: 0.7696 MB / 1.058 GB, free: 2.141 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 -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/jenkins/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