Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001172/0.001172, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001349/0.001349, allocations: 187 kB / 17.34 MB, free: 5.719 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8672, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002565/0.8698, allocations: 0.6646 MB / 1.089 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.8712, allocations: 0.8353 MB / 1.09 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.8712, allocations: 0.9375 kB / 1.09 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.8713, allocations: 8.594 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.8714, allocations: 9.531 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.8716, allocations: 18.8 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.8717, allocations: 43.78 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.8719, allocations: 16.23 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.872, allocations: 22.97 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.8721, allocations: 24.12 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.8721, allocations: 4.375 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.8721, allocations: 8.375 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.8722, allocations: 11.84 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.8722, allocations: 17.5 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.8724, allocations: 47.23 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8724, allocations: 0 / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8724, allocations: 0 / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8724, allocations: 5 kB / 1.09 GB, free: 4.598 MB / 0.8575 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.0005828/0.873, allocations: 345.8 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8731, allocations: 13.06 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.8731, allocations: 7.562 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.8732, allocations: 171.7 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8733, allocations: 6.5 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.8733, allocations: 2.562 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.8735, allocations: 65.12 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8736, allocations: 192 / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.8736, allocations: 8.938 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8736, allocations: 1 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.8739, allocations: 55.61 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.8744, allocations: 281.6 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.8747, allocations: 65.81 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.8748, allocations: 32.39 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.8749, allocations: 5.453 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.8749, allocations: 32.17 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.8749, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005906/0.8755, allocations: 109.9 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.8755, allocations: 52.5 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.8756, allocations: 108.9 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.8757, allocations: 27.05 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.8757, allocations: 86.53 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8757, allocations: 14.23 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.8758, allocations: 19.8 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.8759, allocations: 317.4 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.876, allocations: 22.08 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.8761, allocations: 28.08 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.8764, allocations: 62.39 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8764, allocations: 0 / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003182/0.8767, allocations: 79.36 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8768, allocations: 5.859 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.8768, allocations: 0.9062 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8768, allocations: 0.8125 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.877, allocations: 21 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.877, allocations: 1.156 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.8771, allocations: 9.547 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8771, allocations: 2.781 kB / 1.092 GB, free: 2.805 MB / 0.8575 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 7.488e-05/0.8772, allocations: 116.6 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.8772, allocations: 6.562 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.8773, allocations: 9.828 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.8773, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8773, allocations: 9.125 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8773, allocations: 0.6094 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.8775, allocations: 177.4 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8775, allocations: 0.6562 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.8777, allocations: 13.52 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8777, allocations: 0 / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.8777, allocations: 2.469 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8777, allocations: 0 / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.8777, allocations: 1 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.8781, allocations: 187.3 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.8781, allocations: 87.69 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.8782, allocations: 1.547 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8783, allocations: 6.484 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.8784, allocations: 10.47 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.8784, allocations: 2.578 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.8785, allocations: 85.52 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8785, allocations: 0 / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003132/0.8788, allocations: 11.33 kB / 1.093 GB, free: 2.117 MB / 0.8575 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.0001227/0.8789, allocations: 96.83 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.8793, allocations: 52.45 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8793, allocations: 1 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.8795, allocations: 39.38 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.8799, allocations: 10.27 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.8804, allocations: 149.1 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.8805, allocations: 0.6808 MB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.8806, allocations: 15.7 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.8806, allocations: 0.7188 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of Templates: time 0.003423/0.884, allocations: 0.7988 MB / 1.095 GB, free: 1.102 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches