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.001261/0.001261, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.472/1.472, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001267, allocations: 65.72 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3255, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002533/0.3281, allocations: 0.7325 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3293, allocations: 0.8312 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.3294, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.3295, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.3296, allocations: 7.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.3298, allocations: 19.98 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.3299, allocations: 47.84 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.33, allocations: 15.98 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.3301, allocations: 11.98 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.3302, allocations: 27.84 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3302, allocations: 4 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.3302, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.3303, allocations: 8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.3303, allocations: 23.84 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.479e-05/0.3304, allocations: 27.94 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3304, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3304, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3304, allocations: 0 / 1.054 GB, free: 6.523 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.0006067/0.331, allocations: 363.6 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3311, allocations: 8.031 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.3312, allocations: 4.938 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3313, allocations: 168.2 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3313, allocations: 8.375 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3314, allocations: 4.375 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3316, allocations: 66.22 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3316, allocations: 4.172 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3316, allocations: 3.938 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3316, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.3319, allocations: 47.95 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.3323, allocations: 296.7 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3326, allocations: 62.53 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3327, allocations: 28.92 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3327, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3327, allocations: 34.56 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3327, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004397/0.3332, allocations: 121.4 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3332, allocations: 51.41 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.3333, allocations: 101.9 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3333, allocations: 29.69 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.3334, allocations: 92.14 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.3334, allocations: 7.812 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3335, allocations: 21.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3336, allocations: 310.8 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3337, allocations: 27.98 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.3338, allocations: 23.97 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.334, allocations: 60.69 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.334, allocations: 3.938 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002546/0.3343, allocations: 85.64 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3343, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3343, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3344, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3345, allocations: 11.98 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3345, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.3346, allocations: 7.984 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3346, allocations: 336 / 1.056 GB, free: 4.27 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 8.972e-05/0.3347, allocations: 117.8 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.3347, allocations: 3.906 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3348, allocations: 7.906 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3348, allocations: 3.984 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3348, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3348, allocations: 11.92 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.335, allocations: 173.8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.335, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3351, allocations: 15.98 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3351, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3351, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3351, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3351, allocations: 3.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3354, allocations: 183.4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.3355, allocations: 88.95 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3355, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.3356, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.3357, allocations: 15.97 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3357, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.3358, allocations: 83.28 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3358, allocations: 3.938 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002234/0.336, allocations: 12 kB / 1.057 GB, free: 3.453 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.0001092/0.3361, allocations: 99.19 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3364, allocations: 55.94 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3364, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3365, allocations: 31.97 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3368, allocations: 11.94 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.3372, allocations: 172.7 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3375, allocations: 0.6809 MB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3376, allocations: 15.44 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of SimCode: time 4.4e-07/0.3376, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.002395/0.34, allocations: 0.7869 MB / 1.059 GB, free: 1.539 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/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