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.008331/0.008331, allocations: 103.1 kB / 15.73 MB, free: 5.992 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.001569/0.001569, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 63.89 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001973/1.121, allocations: 0.6641 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001058/1.122, allocations: 0.8463 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/1.122, allocations: 1.094 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/1.123, allocations: 0.7031 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/1.123, allocations: 4.938 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/1.123, allocations: 31.05 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/1.123, allocations: 44.45 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/1.123, allocations: 12.56 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.943e-05/1.123, allocations: 22.02 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/1.123, allocations: 20.73 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/1.123, allocations: 4.031 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/1.123, allocations: 4.406 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/1.123, allocations: 11.84 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/1.123, allocations: 25.75 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/1.123, allocations: 38.55 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.123, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.123, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.889e-06/1.123, allocations: 1.25 kB / 1.09 GB, free: 4.332 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.0005065/1.124, allocations: 353.6 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.124, allocations: 8.844 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/1.124, allocations: 3.562 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.124, allocations: 176.5 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/1.124, allocations: 6.656 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/1.124, allocations: 6.469 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/1.124, allocations: 64.23 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.124, allocations: 192 / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.124, allocations: 8.844 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.124, allocations: 1.312 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/1.125, allocations: 48.05 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/1.125, allocations: 290.8 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/1.125, allocations: 61.81 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/1.125, allocations: 28.86 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/1.126, allocations: 5.422 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/1.126, allocations: 35.47 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.126, allocations: 1.219 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004522/1.126, allocations: 113 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/1.126, allocations: 53.22 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/1.126, allocations: 105 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/1.126, allocations: 25.7 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/1.126, allocations: 91.33 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/1.126, allocations: 18.02 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/1.126, allocations: 19.91 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/1.126, allocations: 317.3 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/1.126, allocations: 26.47 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/1.127, allocations: 23.59 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/1.127, allocations: 61.83 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.127, allocations: 0 / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002466/1.127, allocations: 84.83 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.127, allocations: 5.281 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.127, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.127, allocations: 1.906 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/1.127, allocations: 12.47 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.127, allocations: 1.031 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/1.127, allocations: 11.03 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.127, allocations: 1.281 kB / 1.092 GB, free: 2.535 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 6.539e-05/1.127, allocations: 117.3 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/1.127, allocations: 5.844 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/1.128, allocations: 5.797 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.128, allocations: 5.188 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.128, allocations: 3.938 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.128, allocations: 0.7969 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/1.128, allocations: 181.7 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.128, allocations: 5.25 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/1.128, allocations: 13.27 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/1.128, allocations: 0 / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.128, allocations: 1.578 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.128, allocations: 0 / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.128, allocations: 2.203 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/1.128, allocations: 182.2 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/1.128, allocations: 83.58 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.128, allocations: 1.766 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/1.128, allocations: 5.703 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/1.128, allocations: 10.62 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/1.128, allocations: 2.703 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.567e-05/1.128, allocations: 86.89 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.128, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002219/1.129, allocations: 6.094 kB / 1.092 GB, free: 1.855 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.0001207/1.129, allocations: 108.5 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002946/1.129, allocations: 56.48 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.129, allocations: 0 / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.129, allocations: 33.78 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/1.13, allocations: 10.47 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/1.13, allocations: 134.9 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/1.13, allocations: 0.6844 MB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.737e-05/1.13, allocations: 3.984 kB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/1.13, allocations: 13.19 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.13, allocations: 4 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of Templates: time 0.003947/1.134, allocations: 0.8828 MB / 1.094 GB, free: 0.8086 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/jenkins/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