Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009583/0.0009583, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002145, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000698/0.000698, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009262/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.892/1.892, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5516/2.444, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.573e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00204/0.002066, allocations: 0.7159 MB / 0.7303 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003125, allocations: 0.8767 MB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.003172, allocations: 4 kB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.003202, allocations: 6.562 kB / 0.7312 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.003257, allocations: 9.344 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.73e-05/0.003344, allocations: 23.91 kB / 0.7312 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003453, allocations: 41.56 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003572, allocations: 19.97 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.003719, allocations: 30.66 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.003806, allocations: 17.61 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.003839, allocations: 6.625 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.003854, allocations: 4 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.003886, allocations: 14.3 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.003917, allocations: 9.75 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.004036, allocations: 26.09 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.004052, allocations: 0.5469 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004053, allocations: 0 / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.00407, allocations: 0.5 kB / 0.7314 GB, free: 2.664 MB / 0.698 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.000577/0.004647, allocations: 250 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.004697, allocations: 12.02 kB / 0.7316 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.004744, allocations: 5.812 kB / 0.7316 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.004878, allocations: 114.3 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.004902, allocations: 384 / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.004918, allocations: 8.844 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.005086, allocations: 71.78 kB / 0.7318 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005095, allocations: 192 / 0.7318 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005105, allocations: 0.9375 kB / 0.7318 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005112, allocations: 1.031 kB / 0.7318 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.005149, allocations: 12.92 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.008491, allocations: 172.9 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.008593, allocations: 39.52 kB / 0.732 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.008618, allocations: 8.859 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.008635, allocations: 5.062 kB / 0.7321 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.008663, allocations: 34.56 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.008664, allocations: 0 / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000166/0.00883, allocations: 59.27 kB / 0.7321 GB, free: 1.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.008867, allocations: 51.41 kB / 0.7322 GB, free: 1.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.008945, allocations: 115.5 kB / 0.7323 GB, free: 1.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.008958, allocations: 25.7 kB / 0.7323 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.009004, allocations: 88.94 kB / 0.7324 GB, free: 1.484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.009028, allocations: 15.89 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.009067, allocations: 15.77 kB / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.009166, allocations: 314.8 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.009185, allocations: 5 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.0092, allocations: 4 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.009254, allocations: 24.83 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009256, allocations: 1.688 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.371e-05/0.00934, allocations: 45.62 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.009356, allocations: 7.984 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.009361, allocations: 0 / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.009377, allocations: 9.469 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.009482, allocations: 15.98 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.009485, allocations: 1.125 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.009511, allocations: 0 / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.009519, allocations: 4 kB / 0.7329 GB, free: 1.012 MB / 0.698 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.561e-05/0.009584, allocations: 107.6 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.009607, allocations: 5.094 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.009635, allocations: 11.98 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.009639, allocations: 3.938 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.00964, allocations: 1.219 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009644, allocations: 0 / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.009765, allocations: 77.84 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009767, allocations: 0.6562 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.00982, allocations: 11.98 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.00983, allocations: 5.062 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.009832, allocations: 0 / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.009839, allocations: 7.938 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.009841, allocations: 4.469 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009842, allocations: 5.188 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.009961, allocations: 143.5 kB / 0.7332 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.009972, allocations: 4 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.01003, allocations: 1.25 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.01007, allocations: 15.92 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.01008, allocations: 0 / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.9e-05/0.0101, allocations: 18.12 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.0101, allocations: 0 / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001803/0.01028, allocations: 8 kB / 0.7333 GB, free: 0.543 MB / 0.698 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.0001013/0.01038, allocations: 82.52 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.01046, allocations: 25.16 kB / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01047, allocations: 0 / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.0105, allocations: 22.2 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.0107, allocations: 41.69 kB / 0.7334 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.01417, allocations: 133.9 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.0142, allocations: 59.34 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01424, allocations: 5.5 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.01431, allocations: 56.81 kB / 0.7337 GB, free: 68 kB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.01431, allocations: 0 / 0.7337 GB, free: 68 kB / 0.698 GB Notification: Performance of Templates: time 0.005899/0.02021, allocations: 0.9592 MB / 0.7346 GB, free: 15.14 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.913248625583947]