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.001518/0.001518, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001813/0.001813, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.534/1.534, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.471/2.471, allocations: 437 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.97 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3082, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002476/0.3107, allocations: 0.6638 MB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.312, allocations: 0.8351 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.3121, allocations: 4 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.3121, allocations: 7.922 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.3122, allocations: 4 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3124, allocations: 23.92 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.3126, allocations: 43.84 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3127, allocations: 12 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.3128, allocations: 23.97 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.3129, allocations: 23.84 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3129, allocations: 4 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.3129, allocations: 8 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3129, allocations: 8 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.313, allocations: 27.84 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3131, allocations: 35.88 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3131, allocations: 0 / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3131, allocations: 0 / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3131, allocations: 0 / 1.02 GB, free: 8.934 MB / 0.795 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.0006582/0.3138, allocations: 359.6 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3138, allocations: 12.03 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.3139, allocations: 0.9375 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.314, allocations: 180.2 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3141, allocations: 384 / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3141, allocations: 8.375 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.3144, allocations: 62.22 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3144, allocations: 192 / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3145, allocations: 7.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3145, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.3147, allocations: 51.88 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.3152, allocations: 292.7 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3155, allocations: 66.53 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3157, allocations: 24.92 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3157, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3157, allocations: 38.55 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.245e-06/0.3157, allocations: 0 / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0005647/0.3163, allocations: 113.5 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3164, allocations: 51.41 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3165, allocations: 109.8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3166, allocations: 25.7 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.3166, allocations: 84.14 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.3167, allocations: 11.81 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3167, allocations: 21.7 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3169, allocations: 314.8 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.317, allocations: 27.91 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.3171, allocations: 23.98 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3173, allocations: 56.75 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3173, allocations: 0 / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002543/0.3176, allocations: 89.58 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3176, allocations: 4 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3176, allocations: 0 / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3177, allocations: 16.23 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3178, allocations: 4 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.3178, allocations: 12.31 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3178, allocations: 0 / 1.022 GB, free: 6.676 MB / 0.795 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.439e-05/0.3179, allocations: 113.8 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.318, allocations: 7.906 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.318, allocations: 11.88 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.318, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.318, allocations: 4 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.318, allocations: 4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.3182, allocations: 173.6 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3182, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.3183, allocations: 15.92 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3183, allocations: 3.984 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3183, allocations: 4 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3183, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3183, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3186, allocations: 183.4 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.3187, allocations: 84.95 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3187, allocations: 3.938 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.3188, allocations: 7.984 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3189, allocations: 11.98 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3189, allocations: 4 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.3189, allocations: 83.28 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3189, allocations: 4 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002318/0.3192, allocations: 8 kB / 1.022 GB, free: 5.863 MB / 0.795 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.0001024/0.3193, allocations: 99.23 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3196, allocations: 59.89 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3196, allocations: 3.938 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3198, allocations: 31.97 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3201, allocations: 14.83 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.3206, allocations: 159.4 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.321, allocations: 0.6807 MB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.321, allocations: 11.44 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.321, allocations: 0 / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of Templates: time 0.002148/0.3232, allocations: 0.7847 MB / 1.024 GB, free: 3.965 MB / 0.795 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/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