Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.002233/0.002233, allocations: 85.48 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.00266/0.00266, allocations: 173.2 kB / 22.76 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.402/3.402, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.683e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002147/0.002184, allocations: 0.7128 MB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003386, allocations: 0.8625 MB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.003426, allocations: 0 / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.003455, allocations: 7.922 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.003544, allocations: 9.578 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.003706, allocations: 19.92 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.003802, allocations: 52.5 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.003897, allocations: 11.98 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.003989, allocations: 29.62 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.004049, allocations: 15.92 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.004074, allocations: 8 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.004088, allocations: 4 kB / 0.8791 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.00411, allocations: 11.97 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.004143, allocations: 16.44 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.004255, allocations: 45.78 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004258, allocations: 0 / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004258, allocations: 0 / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004263, allocations: 0 / 0.8792 GB, free: 4.832 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.0005913/0.004854, allocations: 384.1 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004889, allocations: 13.16 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.00494, allocations: 8.922 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.005083, allocations: 116.5 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.005104, allocations: 9.969 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.005115, allocations: 384 / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.005294, allocations: 62.23 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.005306, allocations: 3.938 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005316, allocations: 4 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.00532, allocations: 4 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.005499, allocations: 35.97 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.00599, allocations: 287.7 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.006189, allocations: 70.95 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.006279, allocations: 31.75 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.0063, allocations: 0 / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.006339, allocations: 37.39 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.006339, allocations: 4 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003988/0.006738, allocations: 93.55 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.006795, allocations: 55.41 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.006945, allocations: 169.9 kB / 0.8805 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.006968, allocations: 25.7 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.007057, allocations: 138.8 kB / 0.8807 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.00708, allocations: 11.91 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.007137, allocations: 27.36 kB / 0.8807 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000279/0.007416, allocations: 496.1 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.007497, allocations: 19.98 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.007563, allocations: 23.98 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.007699, allocations: 39.67 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.007704, allocations: 3.938 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001923/0.007897, allocations: 73.61 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.007913, allocations: 7.984 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007917, allocations: 4 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.00793, allocations: 0 / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.008031, allocations: 8 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008037, allocations: 7.938 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.008096, allocations: 11.94 kB / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.008107, allocations: 4 kB / 0.8814 GB, free: 2.383 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: 2 (reaToInt.y,intLesThr.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.0001193/0.008226, allocations: 156.5 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.008257, allocations: 8 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.00829, allocations: 4 kB / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008293, allocations: 0 / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.008296, allocations: 4 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.008298, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.008475, allocations: 128.6 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.00848, allocations: 7.938 kB / 0.8817 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.008558, allocations: 11.94 kB / 0.8817 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00856, allocations: 0 / 0.8817 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.008572, allocations: 3.984 kB / 0.8817 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008573, allocations: 0 / 0.8817 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008574, allocations: 4 kB / 0.8817 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.00886, allocations: 219.9 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.008875, allocations: 8.312 kB / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.00889, allocations: 0 / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.008979, allocations: 15.98 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.00904, allocations: 11.98 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.009048, allocations: 7.984 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.009125, allocations: 127.2 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009125, allocations: 4 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002311/0.009356, allocations: 7.984 kB / 0.8821 GB, free: 1.602 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: 2 (intLesThr.y,reaToInt.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.0001279/0.009484, allocations: 103.1 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.009699, allocations: 51.66 kB / 0.8823 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0097, allocations: 0 / 0.8823 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.009804, allocations: 39.67 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.01006, allocations: 8.484 kB / 0.8823 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01042, allocations: 138.3 kB / 0.8824 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.01049, allocations: 67.2 kB / 0.8825 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.01054, allocations: 4 kB / 0.8825 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.01059, allocations: 24.48 kB / 0.8825 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.01059, allocations: 3.938 kB / 0.8825 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of Templates: time 0.0041/0.01469, allocations: 0.9546 MB / 0.8835 GB, free: 160 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.651819185935892]