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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.009971/0.009971, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002179/0.002179, allocations: 190.8 kB / 16.79 MB, free: 6.254 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.49/1.49, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.88 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.7236, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002934/0.7266, allocations: 0.7303 MB / 1.018 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.7281, allocations: 0.8273 MB / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.7282, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.7282, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.7284, allocations: 7.938 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.7286, allocations: 23.98 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.7288, allocations: 47.84 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.7289, allocations: 8 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.729, allocations: 23.91 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.7291, allocations: 23.91 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.7292, allocations: 4 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.7292, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.7292, allocations: 8 kB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.7293, allocations: 15.86 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.7294, allocations: 35.92 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7294, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7294, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7294, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 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.0007331/0.7302, allocations: 357.5 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.7302, allocations: 8.031 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.7303, allocations: 0.9375 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.7305, allocations: 180.2 kB / 1.02 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.7305, allocations: 384 / 1.02 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.7306, allocations: 12.38 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.7308, allocations: 66.22 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7309, allocations: 192 / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.7309, allocations: 7.922 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7309, allocations: 0 / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.7311, allocations: 47.95 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.7318, allocations: 292.8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.732, allocations: 62.58 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.7321, allocations: 24.88 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.7322, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.7322, allocations: 34.56 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.7322, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004797/0.7327, allocations: 117.5 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.7328, allocations: 51.41 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.7329, allocations: 101.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7329, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.733, allocations: 92.12 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.733, allocations: 15.75 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.7331, allocations: 25.64 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7333, allocations: 314.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.7334, allocations: 23.98 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.7335, allocations: 24.16 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.7337, allocations: 64.83 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7337, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002813/0.734, allocations: 89.58 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.734, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7341, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7341, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.7342, allocations: 15.98 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7342, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.7343, allocations: 11.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7343, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 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 0.0001099/0.7345, allocations: 118.3 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.7345, allocations: 3.906 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.7345, allocations: 3.906 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7345, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7345, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7346, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.7348, allocations: 181.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7348, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7349, allocations: 16.17 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7349, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7349, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7349, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.735, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.7353, allocations: 179.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.7354, allocations: 85 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.7354, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.7355, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7356, allocations: 11.97 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.7356, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.7357, allocations: 83.28 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7357, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002406/0.736, allocations: 8 kB / 1.022 GB, free: 14.11 MB / 0.7794 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.0001867/0.7362, allocations: 103.2 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.7365, allocations: 59.88 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7365, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.7366, allocations: 31.97 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.737, allocations: 11.88 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.7375, allocations: 173 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.738, allocations: 0.6848 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.738, allocations: 15.44 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/0.738, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.00305/0.7411, allocations: 0.7872 MB / 1.023 GB, free: 12.19 MB / 0.7794 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