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.001783/0.001783, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001871/0.001871, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.182/2.182, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62.7 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2753, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002018/0.2774, allocations: 0.6714 MB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.2784, allocations: 0.8333 MB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.2785, allocations: 0 / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.2785, allocations: 3.938 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.2786, allocations: 3.938 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2788, allocations: 19.98 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.2789, allocations: 51.89 kB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.279, allocations: 8 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.279, allocations: 19.92 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.2791, allocations: 31.91 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2791, allocations: 4 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.2792, allocations: 4 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.2792, allocations: 15.86 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.2792, allocations: 19.92 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.2793, allocations: 35.88 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2793, allocations: 0 / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2793, allocations: 0 / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2794, allocations: 0 / 0.952 GB, free: 7.168 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.0005014/0.2799, allocations: 361 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2799, allocations: 8.031 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2799, allocations: 8.938 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2801, allocations: 176.2 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2801, allocations: 4.375 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2801, allocations: 384 / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2803, allocations: 66.22 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2804, allocations: 192 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2804, allocations: 3.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2804, allocations: 4 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2806, allocations: 55.89 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.281, allocations: 280.8 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2813, allocations: 66.53 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2814, allocations: 36.91 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2814, allocations: 3.938 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2814, allocations: 30.56 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2814, allocations: 0 / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004369/0.2819, allocations: 113.5 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2819, allocations: 51.41 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.282, allocations: 105.8 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.282, allocations: 25.7 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.2821, allocations: 88.14 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2821, allocations: 7.891 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.2822, allocations: 21.7 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2823, allocations: 314.8 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2824, allocations: 27.97 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.2825, allocations: 31.91 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.2827, allocations: 52.77 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2827, allocations: 0 / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002516/0.283, allocations: 81.64 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.283, allocations: 8 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.283, allocations: 0 / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2831, allocations: 4 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.2832, allocations: 12.31 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2832, allocations: 0 / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.2833, allocations: 11.98 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.2833, allocations: 7.875 kB / 0.9539 GB, free: 4.914 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 8.604e-05/0.2834, allocations: 113.8 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.2834, allocations: 7.984 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.2834, allocations: 12.14 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2835, allocations: 4 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.2835, allocations: 4 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2835, allocations: 0 / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2837, allocations: 181.5 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2837, allocations: 0 / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.2838, allocations: 15.98 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2838, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2838, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2838, allocations: 4 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2838, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.2841, allocations: 183.4 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.2842, allocations: 89.05 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2842, allocations: 0 / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.2843, allocations: 7.984 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2843, allocations: 15.98 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2844, allocations: 0 / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.2844, allocations: 79.28 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2844, allocations: 0 / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002406/0.2847, allocations: 15.91 kB / 0.9546 GB, free: 4.098 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.0001033/0.2848, allocations: 101.1 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.285, allocations: 55.95 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2851, allocations: 0 / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2852, allocations: 35.91 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2855, allocations: 7.938 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.2858, allocations: 159.2 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2861, allocations: 0.6844 MB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.2862, allocations: 15.44 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2862, allocations: 0 / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.002047/0.2882, allocations: 0.7857 MB / 0.9564 GB, free: 2.199 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 -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