Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001906/0.001906, 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.001988/0.001988, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.492/3.492, allocations: 429.5 MB / 0.6729 GB, free: 4.031 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.157e-05, allocations: 3.375 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002036/0.002068, allocations: 0.8203 MB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003441, allocations: 0.912 MB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.003524, allocations: 3.938 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.003891, allocations: 21.19 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.00393, allocations: 7.875 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.00413, allocations: 33.55 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.004265, allocations: 75.78 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.004391, allocations: 23.92 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.004571, allocations: 43.89 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.004647, allocations: 28.41 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.004669, allocations: 5.906 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.004714, allocations: 8 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.004739, allocations: 15.92 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.004774, allocations: 19.92 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004948, allocations: 79.73 kB / 0.8796 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004951, allocations: 5.281 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004951, allocations: 0 / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004955, allocations: 0 / 0.8796 GB, free: 4.512 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005947/0.00555, allocations: 412.7 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005584, allocations: 8.031 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.005744, allocations: 30.42 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.005986, allocations: 147.1 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006001, allocations: 6.594 kB / 0.8801 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.006014, allocations: 4.375 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.006169, allocations: 66.16 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006177, allocations: 192 / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.006189, allocations: 4.375 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.006195, allocations: 4.375 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.006302, allocations: 34.23 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.006829, allocations: 303.7 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.006995, allocations: 51.05 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.007055, allocations: 24.41 kB / 0.8806 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.007075, allocations: 0 / 0.8806 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.007113, allocations: 46.75 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.007113, allocations: 0 / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002593/0.007373, allocations: 69.67 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.007417, allocations: 55.41 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.007605, allocations: 209.9 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.007629, allocations: 25.7 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.007743, allocations: 146.8 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.007767, allocations: 15.94 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.007818, allocations: 23.38 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.008076, allocations: 0.4923 MB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.008128, allocations: 12 kB / 0.8817 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.008168, allocations: 12 kB / 0.8817 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.008248, allocations: 27.67 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008249, allocations: 7.938 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.008392, allocations: 65.58 kB / 0.8818 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.008413, allocations: 11.98 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008418, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008432, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.008491, allocations: 4 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.008495, allocations: 0 / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.008551, allocations: 8 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.008561, allocations: 3.984 kB / 0.8818 GB, free: 2.02 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.0001371/0.008698, allocations: 164.6 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.008732, allocations: 11.89 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.008766, allocations: 12.34 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008768, allocations: 0 / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.008773, allocations: 4 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008776, allocations: 0 / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.008962, allocations: 148.5 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008963, allocations: 0 / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.009002, allocations: 4.328 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.009006, allocations: 3.938 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.009015, allocations: 3.984 kB / 0.8821 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009016, allocations: 4 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009017, allocations: 0 / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.009242, allocations: 207.9 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.009263, allocations: 15.83 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.009283, allocations: 3.984 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.009361, allocations: 4 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.009419, allocations: 11.98 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.009423, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001082/0.009531, allocations: 153.3 kB / 0.8825 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009532, allocations: 0 / 0.8825 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000213/0.009745, allocations: 15.94 kB / 0.8825 GB, free: 1.199 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001425/0.009887, allocations: 99.25 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01005, allocations: 39.67 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01005, allocations: 0 / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.01011, allocations: 23.67 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01036, allocations: 7.938 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.01077, allocations: 181.8 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.01085, allocations: 80.02 kB / 0.8829 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01089, allocations: 4 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.01093, allocations: 12.48 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.01093, allocations: 4 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of Templates: time 0.003958/0.01489, allocations: 0.924 MB / 0.8839 GB, free: 15.78 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.633846984943375]