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.001064/0.001064, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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.375/2.375, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 11.94 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7667, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0007792/0.7675, allocations: 389.3 kB / 0.9561 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.7683, allocations: 0.8281 MB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.7683, allocations: 0 / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.7683, allocations: 3.984 kB / 0.9569 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.7684, allocations: 9.188 kB / 0.9569 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.7686, allocations: 17.2 kB / 0.9569 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.7686, allocations: 41.2 kB / 0.957 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7688, allocations: 13.83 kB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.7688, allocations: 22.22 kB / 0.957 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.7689, allocations: 17.73 kB / 0.957 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.7689, allocations: 2.062 kB / 0.957 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.7689, allocations: 6.031 kB / 0.957 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.769, allocations: 8.969 kB / 0.957 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.769, allocations: 40.66 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.796e-05/0.7691, allocations: 35.16 kB / 0.9571 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7691, allocations: 0 / 0.9571 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7691, allocations: 0 / 0.9571 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.7691, allocations: 0 / 0.9571 GB, free: 6.512 MB / 0.7169 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.0004234/0.7695, allocations: 344.5 kB / 0.9574 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7696, allocations: 16.72 kB / 0.9574 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.7696, allocations: 7.406 kB / 0.9575 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.7697, allocations: 170.5 kB / 0.9576 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7697, allocations: 6.469 kB / 0.9576 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.7698, allocations: 2.5 kB / 0.9576 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.77, allocations: 73.36 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.77, allocations: 192 / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.77, allocations: 8.969 kB / 0.9577 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.77, allocations: 1.125 kB / 0.9577 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.7702, allocations: 63.67 kB / 0.9578 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.7706, allocations: 293.1 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7708, allocations: 68.97 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7709, allocations: 31.92 kB / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.7709, allocations: 8 kB / 0.9582 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.771, allocations: 31.59 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.771, allocations: 0 / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004143/0.7714, allocations: 127.1 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.7714, allocations: 52.88 kB / 0.9584 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.7715, allocations: 109.2 kB / 0.9585 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.7715, allocations: 26.86 kB / 0.9585 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.7715, allocations: 86.56 kB / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.7716, allocations: 14.75 kB / 0.9586 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.7716, allocations: 11.19 kB / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.7716, allocations: 322.8 kB / 0.9589 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.7717, allocations: 26.2 kB / 0.9589 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.7718, allocations: 28.75 kB / 0.959 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.7721, allocations: 72.25 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7721, allocations: 0 / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002377/0.7723, allocations: 103.8 kB / 0.9591 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7723, allocations: 10.53 kB / 0.9591 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.7723, allocations: 0 / 0.9591 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.7724, allocations: 0 / 0.9591 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.7725, allocations: 16.67 kB / 0.9591 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7725, allocations: 0 / 0.9591 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.7726, allocations: 10 kB / 0.9592 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.7726, allocations: 2 kB / 0.9592 GB, free: 4.559 MB / 0.7169 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 5.561e-05/0.7726, allocations: 119.5 kB / 0.9593 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.7727, allocations: 1.938 kB / 0.9593 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.7727, allocations: 9.766 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7727, allocations: 3.938 kB / 0.9593 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7727, allocations: 0 / 0.9593 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7727, allocations: 0 / 0.9593 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.7728, allocations: 183.4 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7729, allocations: 1.75 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.7729, allocations: 17.7 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.773, allocations: 1.188 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.773, allocations: 0 / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.773, allocations: 2.156 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.773, allocations: 0 / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.7732, allocations: 197.9 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.7733, allocations: 86.69 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.7733, allocations: 0 / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.7734, allocations: 6.406 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.7735, allocations: 11.52 kB / 0.9598 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.7735, allocations: 5.203 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.7735, allocations: 88 kB / 0.9599 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7735, allocations: 4 kB / 0.9599 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.7737, allocations: 7.656 kB / 0.9599 GB, free: 3.824 MB / 0.7169 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 8.599e-05/0.7738, allocations: 95.62 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.7741, allocations: 68.81 kB / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7741, allocations: 0 / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.7742, allocations: 37.72 kB / 0.9601 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.7745, allocations: 7.062 kB / 0.9601 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.7748, allocations: 168.5 kB / 0.9602 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.7749, allocations: 0.6829 MB / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.7749, allocations: 18.11 kB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7749, allocations: 0 / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.002175/0.7771, allocations: 0.773 MB / 0.9617 GB, free: 2.414 MB / 0.7169 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/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