Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.002421/0.002421, allocations: 85.48 kB / 19.44 MB, free: 344 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.002737/0.002737, 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.496/3.496, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.377e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002138/0.002172, allocations: 0.7084 MB / 0.8782 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003505, allocations: 0.8647 MB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.003547, allocations: 0 / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.003583, allocations: 9.047 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.00368, allocations: 5.906 kB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.003852, allocations: 24.97 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003984, allocations: 52.61 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004087, allocations: 4 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.004197, allocations: 29.06 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.004278, allocations: 23.91 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.00431, allocations: 4 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.004329, allocations: 5.312 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.004355, allocations: 11.92 kB / 0.8792 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.004389, allocations: 11.94 kB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.00451, allocations: 51.91 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004513, allocations: 3.25 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004513, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004517, allocations: 0 / 0.8792 GB, free: 4.879 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.0006448/0.005162, allocations: 376.1 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.005204, allocations: 16.02 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.005256, allocations: 8.938 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.005413, allocations: 112.6 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.005429, allocations: 384 / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.005443, allocations: 4.969 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005639, allocations: 67.81 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.005651, allocations: 7.875 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.005667, allocations: 4 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005671, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.005848, allocations: 40.47 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.00635, allocations: 281.1 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.006543, allocations: 70.92 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.006636, allocations: 27.75 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.006659, allocations: 1.469 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.006697, allocations: 33.39 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.006698, allocations: 0 / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004055/0.007104, allocations: 101.6 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.007166, allocations: 55.34 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.007325, allocations: 173.9 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.007346, allocations: 25.7 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.007448, allocations: 138.8 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.007467, allocations: 7.906 kB / 0.8807 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.007523, allocations: 27.36 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003102/0.007834, allocations: 0.4884 MB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.007914, allocations: 19.98 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.007978, allocations: 15.98 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.008129, allocations: 47.67 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.008134, allocations: 3.938 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002046/0.008338, allocations: 77.88 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.008352, allocations: 4 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.008357, allocations: 0 / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.008372, allocations: 4.031 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.008477, allocations: 8 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008481, allocations: 0 / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.008545, allocations: 15.94 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.008552, allocations: 0 / 0.8814 GB, free: 2.449 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,intGreThr.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.0001497/0.008702, allocations: 164.5 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.008731, allocations: 4 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.008765, allocations: 12 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008767, allocations: 3.938 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008771, allocations: 0 / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.008777, allocations: 3.984 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.008962, allocations: 132.7 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008965, allocations: 3.938 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.00904, allocations: 12 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009041, allocations: 0 / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009051, allocations: 3.984 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.009053, allocations: 0 / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009053, allocations: 0 / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.009643, allocations: 227.8 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.009656, allocations: 3.938 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.00967, allocations: 0 / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.009757, allocations: 7.984 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.009819, allocations: 11.98 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.009825, allocations: 0 / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.835e-05/0.009913, allocations: 139.2 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009913, allocations: 0 / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000214/0.01013, allocations: 8 kB / 0.8821 GB, free: 1.66 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 (intGreThr.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.0001299/0.01026, allocations: 99.19 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.01047, allocations: 55.59 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01047, allocations: 0 / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01059, allocations: 35.67 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.01084, allocations: 15.94 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.01122, allocations: 130.3 kB / 0.8824 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.259e-05/0.0113, allocations: 71.2 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.01134, allocations: 4 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.01139, allocations: 16.48 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.01139, allocations: 4 kB / 0.8825 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Templates: time 0.004153/0.01555, allocations: 0.9704 MB / 0.8835 GB, free: 220 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.659052495029755]