Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001855/0.001855, allocations: 93.47 kB / 19.44 MB, free: 336 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.001992/0.001992, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.68/1.68, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.37/3.37, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0.7656 kB / 0.8774 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.382e-05, allocations: 6.125 kB / 0.8774 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001775/0.001808, allocations: 0.6291 MB / 0.878 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003026, allocations: 0.8458 MB / 0.8789 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.003056, allocations: 1.062 kB / 0.8789 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.003079, allocations: 3.938 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.003141, allocations: 0.7656 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.003284, allocations: 21.62 kB / 0.8789 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.003359, allocations: 32.56 kB / 0.8789 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.00344, allocations: 4.531 kB / 0.8789 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.003523, allocations: 15.98 kB / 0.8789 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.003568, allocations: 12.83 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.003585, allocations: 0 / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.003593, allocations: 5.062 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.003609, allocations: 4 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.003636, allocations: 11.98 kB / 0.879 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.003718, allocations: 21.14 kB / 0.879 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.003722, allocations: 7.938 kB / 0.879 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003723, allocations: 0 / 0.879 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003727, allocations: 1.094 kB / 0.879 GB, free: 4.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004975/0.004224, allocations: 356.3 kB / 0.8793 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004258, allocations: 12.03 kB / 0.8794 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.004297, allocations: 5.578 kB / 0.8794 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004417, allocations: 112.6 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.004438, allocations: 2.5 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004446, allocations: 384 / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.004595, allocations: 54.19 kB / 0.8795 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.004606, allocations: 4.172 kB / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.004615, allocations: 384 / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004619, allocations: 3.719 kB / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.004746, allocations: 27.92 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.005136, allocations: 251.8 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.005262, allocations: 47 kB / 0.8798 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.005335, allocations: 23.73 kB / 0.8799 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.005351, allocations: 0 / 0.8799 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.005385, allocations: 33.39 kB / 0.8799 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.005385, allocations: 0.9062 kB / 0.8799 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002979/0.005683, allocations: 74.73 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.005744, allocations: 51.41 kB / 0.88 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.005874, allocations: 163 kB / 0.8802 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.005893, allocations: 29.7 kB / 0.8802 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.005974, allocations: 138.8 kB / 0.8803 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.00599, allocations: 4.922 kB / 0.8803 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.006035, allocations: 23.36 kB / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004312/0.006467, allocations: 496.1 kB / 0.8808 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.006526, allocations: 8.75 kB / 0.8808 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.006583, allocations: 16.64 kB / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.006713, allocations: 35.11 kB / 0.8809 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006716, allocations: 0 / 0.8809 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001562/0.006872, allocations: 57.67 kB / 0.8809 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006887, allocations: 4 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.006896, allocations: 3.938 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.006918, allocations: 4 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.007011, allocations: 12.06 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007017, allocations: 0.5938 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.00706, allocations: 13.02 kB / 0.881 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.007066, allocations: 0 / 0.881 GB, free: 2.754 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 (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 0.000121/0.007187, allocations: 153.2 kB / 0.8811 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.007217, allocations: 11.94 kB / 0.8811 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.007247, allocations: 12.78 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007249, allocations: 0 / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.007253, allocations: 0 / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007256, allocations: 0 / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.007428, allocations: 124.8 kB / 0.8813 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007429, allocations: 4 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.007484, allocations: 7.984 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007485, allocations: 0 / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.007493, allocations: 0 / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.007496, allocations: 3.938 kB / 0.8813 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007497, allocations: 0 / 0.8813 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.007768, allocations: 207.9 kB / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.007774, allocations: 0 / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007786, allocations: 0 / 0.8815 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.00785, allocations: 15.97 kB / 0.8815 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.007907, allocations: 11.98 kB / 0.8815 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007911, allocations: 0 / 0.8815 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.007985, allocations: 127.2 kB / 0.8816 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007985, allocations: 0 / 0.8816 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000198/0.008183, allocations: 4 kB / 0.8816 GB, free: 2.02 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 (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.0001228/0.008306, allocations: 95.23 kB / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.00848, allocations: 35.67 kB / 0.8818 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008482, allocations: 4.062 kB / 0.8818 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.008582, allocations: 31.61 kB / 0.8818 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.00882, allocations: 6.5 kB / 0.8818 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.009145, allocations: 114.4 kB / 0.8819 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.121e-05/0.009216, allocations: 63.2 kB / 0.882 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.009245, allocations: 4 kB / 0.882 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.009287, allocations: 20.5 kB / 0.882 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.009287, allocations: 0 / 0.882 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of Templates: time 0.003406/0.01269, allocations: 0.6499 MB / 0.8826 GB, free: 0.9492 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.539568895939738]