Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001742/0.001743, allocations: 112 kB / 16.41 MB, free: 6.016 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.001916/0.001916, allocations: 191.5 kB / 17.34 MB, free: 5.629 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.596/1.596, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001895/1.018, allocations: 0.6681 MB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001104/1.019, allocations: 0.8375 MB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/1.019, allocations: 4 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/1.019, allocations: 3.938 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/1.019, allocations: 7.922 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/1.019, allocations: 23.92 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/1.02, allocations: 35.97 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/1.02, allocations: 23.92 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/1.02, allocations: 19.92 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/1.02, allocations: 23.91 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/1.02, allocations: 4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/1.02, allocations: 4 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/1.02, allocations: 11.94 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/1.02, allocations: 23.91 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/1.02, allocations: 43.81 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.02, allocations: 0 / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/1.02, allocations: 0 / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.364e-05/1.02, allocations: 3.984 kB / 1.169 GB, free: 2.121 MB / 0.8887 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.000592/1.021, allocations: 347.9 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.021, allocations: 12.03 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/1.021, allocations: 0.9375 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.021, allocations: 180.3 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.021, allocations: 8.312 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/1.021, allocations: 4.375 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.021, allocations: 66.2 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.021, allocations: 192 / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.021, allocations: 11.92 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.021, allocations: 0 / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/1.021, allocations: 47.95 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/1.022, allocations: 288.8 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/1.022, allocations: 62.55 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.022, allocations: 28.91 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/1.022, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.022, allocations: 42.56 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/1.022, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004328/1.023, allocations: 109.5 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.023, allocations: 51.41 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/1.023, allocations: 105.8 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.023, allocations: 33.64 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/1.023, allocations: 84.14 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/1.023, allocations: 19.84 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/1.023, allocations: 17.7 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.023, allocations: 314.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/1.023, allocations: 27.91 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/1.024, allocations: 23.97 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.024, allocations: 56.77 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/1.024, allocations: 64 / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002548/1.024, allocations: 89.52 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.024, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.024, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.024, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/1.024, allocations: 11.98 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.024, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/1.024, allocations: 11.94 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/1.024, allocations: 4 kB / 1.171 GB, free: 15.87 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 (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.0001002/1.024, allocations: 113.8 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/1.024, allocations: 7.984 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/1.025, allocations: 7.906 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.025, allocations: 256 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/1.025, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.025, allocations: 8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.025, allocations: 181.6 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.025, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/1.025, allocations: 11.98 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.025, allocations: 336 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.025, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.025, allocations: 3.938 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.025, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.025, allocations: 191.4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/1.025, allocations: 77.11 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.025, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/1.025, allocations: 11.98 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.025, allocations: 7.984 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/1.025, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.126e-05/1.026, allocations: 83.28 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.026, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002352/1.026, allocations: 8 kB / 1.172 GB, free: 15.06 MB / 0.9044 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.0001242/1.026, allocations: 107.2 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002727/1.026, allocations: 51.89 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.026, allocations: 7.938 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/1.026, allocations: 31.91 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/1.027, allocations: 14.75 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/1.027, allocations: 129.4 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.027, allocations: 0.6807 MB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.354e-05/1.027, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/1.028, allocations: 15.42 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/1.028, allocations: 7.938 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.003587/1.031, allocations: 0.8783 MB / 1.174 GB, free: 13.09 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches