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.00175/0.00175, 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.002074/0.002074, allocations: 196 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.707/2.707, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.821, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002368/0.8234, allocations: 0.7185 MB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8244, allocations: 0.8351 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.8245, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.8246, allocations: 3.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.8247, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.8249, allocations: 19.98 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.971e-05/0.8249, allocations: 47.83 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.8251, allocations: 16 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.8252, allocations: 15.92 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.8253, allocations: 19.92 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.8253, allocations: 4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.8253, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.8253, allocations: 19.91 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.8254, allocations: 19.86 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.8255, allocations: 39.86 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8255, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8255, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8255, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 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.0005472/0.8261, allocations: 361.4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.8261, allocations: 8.031 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.8262, allocations: 4.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8263, allocations: 172.2 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.8264, allocations: 384 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.8264, allocations: 8.375 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8266, allocations: 66.2 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.8266, allocations: 4.188 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8266, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.8266, allocations: 4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.8269, allocations: 51.83 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.8274, allocations: 280.8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.8277, allocations: 70.53 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.8278, allocations: 32.84 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.8278, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.8278, allocations: 34.56 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.8278, allocations: 0 / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004368/0.8283, allocations: 113.5 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.8283, allocations: 55.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.8284, allocations: 105.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.8285, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.8285, allocations: 88.08 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.8285, allocations: 19.81 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.8286, allocations: 21.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8287, allocations: 314.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.8288, allocations: 31.91 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.8289, allocations: 19.98 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8291, allocations: 56.75 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8291, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002375/0.8294, allocations: 85.64 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8294, allocations: 8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8294, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8294, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.8296, allocations: 11.98 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.8296, allocations: 256 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.8297, allocations: 11.92 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.8297, allocations: 8 kB / 1.02 GB, free: 14.74 MB / 0.7794 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.871e-05/0.8298, allocations: 118.3 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.8298, allocations: 7.906 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.8299, allocations: 3.906 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8299, allocations: 3.984 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8299, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.8299, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.8301, allocations: 173.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8301, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.8302, allocations: 15.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8302, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8302, allocations: 3.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8302, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8303, allocations: 3.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.8306, allocations: 183.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.8306, allocations: 81.02 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.8306, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8307, allocations: 11.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.8308, allocations: 12.36 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.8308, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.8309, allocations: 87.28 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8309, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002238/0.8311, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.0001295/0.8313, allocations: 105.6 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.8315, allocations: 55.94 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8315, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.8317, allocations: 39.91 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.832, allocations: 7.938 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.8325, allocations: 143.3 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.8327, allocations: 0.6809 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.8328, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.8329, allocations: 11.42 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8329, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.003387/0.8363, allocations: 0.7645 MB / 1.023 GB, free: 12.07 MB / 0.7794 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 -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/jenkins/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