Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001989/0.001989, allocations: 77.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001865/0.001865, allocations: 169.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.564e-05, allocations: 2.281 kB / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001825/0.001851, allocations: 0.6312 MB / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003211, allocations: 0.8393 MB / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.003258, allocations: 0 / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.003293, allocations: 3.938 kB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.003361, allocations: 7.938 kB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.003532, allocations: 11.98 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.003617, allocations: 27.92 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.003744, allocations: 4 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.003838, allocations: 19.92 kB / 0.9525 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.003895, allocations: 15.97 kB / 0.9525 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.003928, allocations: 4 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.003938, allocations: 0 / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.003958, allocations: 4 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.003986, allocations: 7.938 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.004088, allocations: 31.88 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.00409, allocations: 0 / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004091, allocations: 4 kB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.004101, allocations: 0 / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005271/0.004629, allocations: 262.3 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.004672, allocations: 8.031 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.004705, allocations: 4.938 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.00486, allocations: 109.7 kB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.004884, allocations: 4.375 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.004898, allocations: 384 / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.005107, allocations: 54.23 kB / 0.9529 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005118, allocations: 192 / 0.9529 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005128, allocations: 384 / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005133, allocations: 4.312 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.005334, allocations: 43.89 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.005764, allocations: 196.6 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.00593, allocations: 34.56 kB / 0.9532 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.006036, allocations: 28.89 kB / 0.9532 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.006057, allocations: 0 / 0.9532 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.006089, allocations: 34.5 kB / 0.9533 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.00609, allocations: 4 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004468/0.006536, allocations: 85.58 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.006596, allocations: 59.34 kB / 0.9534 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.006697, allocations: 105.8 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.006731, allocations: 25.7 kB / 0.9535 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.006799, allocations: 80.14 kB / 0.9536 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.006823, allocations: 3.953 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.006869, allocations: 17.84 kB / 0.9536 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.007037, allocations: 326.8 kB / 0.954 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.007134, allocations: 15.98 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.007218, allocations: 11.98 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.007397, allocations: 48.75 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007399, allocations: 0 / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002424/0.007641, allocations: 73.91 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.00766, allocations: 4 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.007668, allocations: 3.938 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.007688, allocations: 3.984 kB / 0.9541 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.007809, allocations: 11.98 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.007815, allocations: 0 / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.007878, allocations: 11.92 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007884, allocations: 0 / 0.9541 GB, free: 8.176 MB / 0.8575 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.704e-05/0.007981, allocations: 117.9 kB / 0.9542 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.008009, allocations: 3.953 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.008033, allocations: 11.19 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008037, allocations: 4 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008041, allocations: 0 / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008044, allocations: 0 / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.008205, allocations: 109.3 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008206, allocations: 0 / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.00828, allocations: 7.984 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008282, allocations: 0 / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008293, allocations: 4 kB / 0.9544 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.008296, allocations: 7.938 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008297, allocations: 0 / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.0086, allocations: 159.5 kB / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.008612, allocations: 4 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.008626, allocations: 0 / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.008715, allocations: 11.92 kB / 0.9546 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.008776, allocations: 7.984 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.008782, allocations: 7.938 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.008829, allocations: 83.25 kB / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.008829, allocations: 0 / 0.9546 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00022/0.009049, allocations: 4 kB / 0.9547 GB, free: 7.586 MB / 0.8575 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001312/0.00918, allocations: 99.23 kB / 0.9547 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.009429, allocations: 43.91 kB / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009431, allocations: 0 / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.009538, allocations: 24.03 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.009826, allocations: 8 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.01018, allocations: 104.9 kB / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.261e-05/0.01024, allocations: 63.28 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01028, allocations: 4 kB / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.01031, allocations: 8.5 kB / 0.955 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.01031, allocations: 4.062 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.003504/0.01382, allocations: 0.6432 MB / 0.9556 GB, free: 6.547 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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: 7.979878552258015]