Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 108.6 kB / 16.39 MB, free: 6.453 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.001486/0.001486, allocations: 189.5 kB / 17.32 MB, free: 5.754 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 442.7 MB / 0.7167 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 153 MB / 1.177 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00211/1.174, allocations: 0.6161 MB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001173/1.175, allocations: 0.8273 MB / 1.178 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/1.175, allocations: 0 / 1.178 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/1.175, allocations: 0 / 1.178 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/1.175, allocations: 3.938 kB / 1.178 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/1.176, allocations: 19.91 kB / 1.178 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.532e-05/1.176, allocations: 27.92 kB / 1.178 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/1.176, allocations: 0 / 1.178 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/1.176, allocations: 11.98 kB / 1.178 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/1.176, allocations: 19.92 kB / 1.178 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/1.176, allocations: 7.938 kB / 1.178 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/1.176, allocations: 7.938 kB / 1.178 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/1.176, allocations: 7.984 kB / 1.178 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/1.176, allocations: 3.938 kB / 1.178 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/1.176, allocations: 27.95 kB / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.176, allocations: 0 / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.913e-06/1.176, allocations: 0 / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.176, allocations: 0 / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005248/1.177, allocations: 335.5 kB / 1.179 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.177, allocations: 15.97 kB / 1.179 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/1.177, allocations: 4.938 kB / 1.179 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.177, allocations: 164.2 kB / 1.179 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.177, allocations: 384 / 1.179 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.177, allocations: 8.359 kB / 1.179 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/1.177, allocations: 50.23 kB / 1.179 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/1.177, allocations: 192 / 1.179 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.177, allocations: 7.922 kB / 1.179 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.177, allocations: 0 / 1.179 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/1.177, allocations: 43.89 kB / 1.179 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/1.178, allocations: 253 kB / 1.179 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.178, allocations: 42.5 kB / 1.179 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/1.178, allocations: 20.91 kB / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/1.178, allocations: 7.984 kB / 1.179 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.178, allocations: 34.56 kB / 1.179 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/1.178, allocations: 0 / 1.179 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/1.178, allocations: 89.48 kB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/1.179, allocations: 51.41 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/1.179, allocations: 106 kB / 1.179 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.179, allocations: 25.7 kB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/1.179, allocations: 84.14 kB / 1.18 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/1.179, allocations: 3.906 kB / 1.18 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/1.179, allocations: 17.72 kB / 1.18 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.179, allocations: 310.8 kB / 1.18 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/1.179, allocations: 19.97 kB / 1.18 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/1.179, allocations: 19.98 kB / 1.18 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/1.179, allocations: 48.75 kB / 1.18 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.179, allocations: 0 / 1.18 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/1.179, allocations: 69.59 kB / 1.18 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.179, allocations: 4 kB / 1.18 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.179, allocations: 4.094 kB / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.18, allocations: 0 / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.18, allocations: 11.98 kB / 1.18 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.18, allocations: 3.938 kB / 1.18 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/1.18, allocations: 8 kB / 1.18 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/1.18, allocations: 0 / 1.18 GB, free: 7.16 MB / 0.9044 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001078/1.18, allocations: 121.8 kB / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/1.18, allocations: 3.938 kB / 1.18 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/1.18, allocations: 7.125 kB / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.18, allocations: 0 / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.18, allocations: 0 / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/1.18, allocations: 81.11 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.18, allocations: 0 / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/1.18, allocations: 11.92 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.18, allocations: 4 kB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003042/1.18, allocations: 156.9 kB / 1.18 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003092/1.181, allocations: 238.7 kB / 1.181 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001022/1.181, allocations: 27.91 kB / 1.181 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.858e-05/1.181, allocations: 83.28 kB / 1.181 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of Backend: time 4.21e-07/1.181, allocations: 4.062 kB / 1.181 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004252/1.181, allocations: 99.03 kB / 1.181 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006352/1.182, allocations: 0.5494 MB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of Templates: time 0.003223/1.185, allocations: 0.6864 MB / 1.182 GB, free: 5.004 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches