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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001706/0.001706, allocations: 116.9 kB / 16.37 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.002304/0.002304, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.436/1.436, 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 9.1.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 60.94 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00222/0.3295, allocations: 0.6747 MB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.3303, allocations: 0.841 MB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.3304, allocations: 0 / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3304, allocations: 3.938 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.3305, allocations: 3.938 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.3306, allocations: 23.97 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.3307, allocations: 47.84 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3309, allocations: 15.98 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.3309, allocations: 19.92 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.331, allocations: 23.92 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.331, allocations: 4 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.3311, allocations: 4 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.3311, allocations: 11.97 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.3311, allocations: 19.86 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.3312, allocations: 51.8 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3312, allocations: 4 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3312, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3313, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 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.0004915/0.3317, allocations: 355.3 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3318, allocations: 8.031 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3318, allocations: 4.938 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.332, allocations: 168.3 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.332, allocations: 4.375 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.332, allocations: 384 / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3322, allocations: 70.2 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3322, allocations: 192 / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3322, allocations: 7.938 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3322, allocations: 0 / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3324, allocations: 55.89 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.3329, allocations: 280.8 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3331, allocations: 62.53 kB / 0.9538 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.3332, allocations: 32.92 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3332, allocations: 3.938 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3333, allocations: 34.56 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3333, allocations: 0 / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003986/0.3337, allocations: 113.5 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3337, allocations: 55.41 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.3338, allocations: 113.9 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3338, allocations: 29.64 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3339, allocations: 92.06 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3339, allocations: 11.81 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.334, allocations: 17.7 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3341, allocations: 318.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.3342, allocations: 27.97 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.3343, allocations: 23.92 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3345, allocations: 52.75 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3345, allocations: 0 / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002229/0.3347, allocations: 85.64 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3347, allocations: 8 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3347, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3348, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3349, allocations: 11.98 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3349, allocations: 0 / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.335, allocations: 7.984 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.335, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 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.726e-05/0.3351, allocations: 121.7 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3351, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.3351, allocations: 15.91 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3351, allocations: 0 / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3351, allocations: 3.984 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3351, allocations: 0 / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3353, allocations: 177.5 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3353, allocations: 0 / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3355, allocations: 11.98 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3355, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3355, allocations: 3.984 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3355, allocations: 0 / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3355, allocations: 0 / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3358, allocations: 191.4 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.3359, allocations: 81.05 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3359, allocations: 0 / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.336, allocations: 15.92 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.336, allocations: 4 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3361, allocations: 7.984 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3361, allocations: 91.53 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3361, allocations: 0 / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002134/0.3363, allocations: 7.906 kB / 0.9555 GB, free: 3.211 MB / 0.7325 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.0001166/0.3365, allocations: 99.25 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3367, allocations: 55.94 kB / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3367, allocations: 4 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3368, allocations: 36.38 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3371, allocations: 13.94 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3375, allocations: 128.3 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3377, allocations: 0.6844 MB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.3378, allocations: 8 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3378, allocations: 15.44 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3378, allocations: 0 / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.003144/0.341, allocations: 0.8693 MB / 0.9574 GB, free: 1.25 MB / 0.7325 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 -s cvode -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