Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.212/3.212, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.847e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001911/0.00194, allocations: 0.6529 MB / 0.8782 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003183, allocations: 0.8534 MB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.003223, allocations: 5.094 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.003251, allocations: 3.938 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.00333, allocations: 10.44 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.003469, allocations: 21.03 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.00357, allocations: 45.78 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.003667, allocations: 21.03 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.003757, allocations: 27.86 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.003818, allocations: 19.97 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.003839, allocations: 4.906 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.003851, allocations: 4 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.003876, allocations: 11.92 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003909, allocations: 12.86 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.00402, allocations: 47.84 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004022, allocations: 3.438 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004023, allocations: 0 / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004026, allocations: 0 / 0.8793 GB, free: 4.785 MB / 0.8386 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.0005368/0.004563, allocations: 278.3 kB / 0.8795 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.004597, allocations: 8.031 kB / 0.8795 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.004644, allocations: 8.891 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.004782, allocations: 113.7 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004797, allocations: 384 / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.004812, allocations: 8.906 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.005026, allocations: 67.47 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005033, allocations: 192 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005044, allocations: 384 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005048, allocations: 384 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.005281, allocations: 61.41 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.005698, allocations: 212.5 kB / 0.88 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.005925, allocations: 71.69 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.006048, allocations: 34.16 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006063, allocations: 4 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.006099, allocations: 38.5 kB / 0.8801 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.0061, allocations: 0 / 0.8801 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004987/0.006599, allocations: 109.6 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.00665, allocations: 55.41 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.006972, allocations: 109.8 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.006993, allocations: 25.7 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.007061, allocations: 88.12 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.007085, allocations: 19.97 kB / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.007131, allocations: 17.72 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.007311, allocations: 314.8 kB / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.007433, allocations: 19.98 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.007541, allocations: 23.97 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.007755, allocations: 56.81 kB / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.007757, allocations: 0 / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002738/0.008031, allocations: 93.52 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.008047, allocations: 10.59 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.008051, allocations: 256 / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.008066, allocations: 4 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.008198, allocations: 19.98 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.008203, allocations: 0 / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.008277, allocations: 7.938 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.00829, allocations: 3.984 kB / 0.8811 GB, free: 2.77 MB / 0.8386 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.0001155/0.008405, allocations: 113.8 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.008443, allocations: 15.89 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.008463, allocations: 4 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.008464, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008467, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.008469, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.008637, allocations: 113.3 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008638, allocations: 4 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.008738, allocations: 11.98 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.008743, allocations: 3.984 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008753, allocations: 7.938 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008755, allocations: 3.938 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008755, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.009097, allocations: 179.8 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.009115, allocations: 8 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.009136, allocations: 11.92 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.009255, allocations: 7.984 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.009315, allocations: 7.984 kB / 0.8815 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.009323, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.009387, allocations: 87.28 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009387, allocations: 0 / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000228/0.009615, allocations: 8 kB / 0.8816 GB, free: 2.133 MB / 0.8386 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.0001205/0.009736, allocations: 99.23 kB / 0.8817 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.01001, allocations: 55.89 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01001, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01013, allocations: 27.97 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01043, allocations: 15.98 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.01078, allocations: 124.6 kB / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.01085, allocations: 75.14 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.44e-05/0.0109, allocations: 7.984 kB / 0.882 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.01095, allocations: 20.44 kB / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/0.01095, allocations: 0 / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of Templates: time 0.003813/0.01476, allocations: 0.9617 MB / 0.883 GB, free: 0.7109 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.267401576973498]