Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.0007708/0.0007708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001797, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006977/0.0006977, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001698, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9789/0.9789, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.079, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.444/2.444, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2564/2.7, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.058e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001653/0.001674, allocations: 0.8252 MB / 0.8191 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000719/0.002393, allocations: 0.9286 MB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.002426, allocations: 0 / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.002451, allocations: 3.938 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.002497, allocations: 11.88 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.484e-05/0.002581, allocations: 43.88 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.002667, allocations: 79.78 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.002756, allocations: 27.89 kB / 0.8202 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.002861, allocations: 67.83 kB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.002927, allocations: 39.88 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.002952, allocations: 8 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.002964, allocations: 8 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.002982, allocations: 15.94 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.003011, allocations: 12 kB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.003106, allocations: 63.69 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.00312, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.00312, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.003132, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003801/0.003512, allocations: 296.3 kB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.003542, allocations: 12.62 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.003572, allocations: 12.92 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.003653, allocations: 113.7 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.003671, allocations: 4.375 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003683, allocations: 8.375 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.003822, allocations: 90.83 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.00383, allocations: 3.938 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.003839, allocations: 4 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003844, allocations: 4 kB / 0.8209 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.003886, allocations: 20.48 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.004229, allocations: 196.1 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.004507, allocations: 70.41 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.004537, allocations: 12.86 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.004561, allocations: 4 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.004584, allocations: 30.56 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.004586, allocations: 4 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001701/0.004756, allocations: 69.66 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.004787, allocations: 55.34 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.004858, allocations: 122.7 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.004871, allocations: 25.7 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.004917, allocations: 100 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.004941, allocations: 19.84 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.004983, allocations: 25.69 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.005065, allocations: 318.8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.005095, allocations: 11.98 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.005117, allocations: 8 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.005176, allocations: 29.3 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.00518, allocations: 7.938 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.588e-05/0.005276, allocations: 61.59 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.00529, allocations: 7.984 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005293, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.005303, allocations: 4 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.005411, allocations: 15.98 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.005414, allocations: 4 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.00547, allocations: 19.92 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.005477, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.054e-05/0.005547, allocations: 113.8 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.005575, allocations: 7.984 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.005702, allocations: 70.03 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005704, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005705, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005708, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.005872, allocations: 89.81 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005874, allocations: 0 / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.005961, allocations: 27.97 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.005973, allocations: 7.938 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005976, allocations: 4 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.005983, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005984, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005985, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006114, allocations: 167.4 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.006129, allocations: 4 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.00623, allocations: 11.98 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.006292, allocations: 27.91 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.006298, allocations: 0 / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.006321, allocations: 20.83 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006321, allocations: 0 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000213/0.006534, allocations: 19.95 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.935e-05/0.006623, allocations: 82.89 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.006723, allocations: 36.83 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.00673, allocations: 4 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.006789, allocations: 32.78 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.006973, allocations: 19.98 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.00745, allocations: 161.2 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.007492, allocations: 59.34 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.557e-05/0.007548, allocations: 15.94 kB / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.007644, allocations: 71.34 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.007645, allocations: 0 / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.003128/0.01077, allocations: 1.739 MB / 0.8248 GB, free: 11.94 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.355696291662753]