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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 113.8 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 194.2 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002052/0.002052, allocations: 76.12 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002184/1.121, allocations: 0.8405 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001241/1.123, allocations: 0.8685 MB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/1.123, allocations: 5.812 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/1.123, allocations: 11.25 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.936e-05/1.123, allocations: 14.73 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/1.123, allocations: 30.58 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/1.123, allocations: 72.5 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/1.124, allocations: 27.8 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/1.124, allocations: 34.81 kB / 1.264 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/1.124, allocations: 32.89 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/1.124, allocations: 5.906 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/1.124, allocations: 5.156 kB / 1.265 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/1.124, allocations: 16.31 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/1.124, allocations: 32.38 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/1.124, allocations: 79.41 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.124, allocations: 0.6562 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.943e-06/1.124, allocations: 0 / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.124, allocations: 0 / 1.265 GB, free: 6.625 MB / 0.9981 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.0005743/1.125, allocations: 384.5 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.125, allocations: 8.938 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/1.125, allocations: 9.672 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/1.125, allocations: 210.4 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/1.125, allocations: 2.75 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.125, allocations: 2.781 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/1.125, allocations: 67.17 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.125, allocations: 1.281 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.125, allocations: 3.938 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.125, allocations: 1.75 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/1.125, allocations: 36.34 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/1.126, allocations: 328 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/1.126, allocations: 47.12 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/1.126, allocations: 22.58 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/1.126, allocations: 5.547 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.126, allocations: 35.34 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.126, allocations: 4.625 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002858/1.127, allocations: 75.55 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/1.127, allocations: 52.7 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.127, allocations: 138.5 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.127, allocations: 26.55 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/1.127, allocations: 102.5 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/1.127, allocations: 10.09 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/1.127, allocations: 14.89 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/1.127, allocations: 324.1 kB / 1.266 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/1.127, allocations: 13.59 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/1.127, allocations: 15.88 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/1.127, allocations: 30.52 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.127, allocations: 4 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/1.127, allocations: 65.97 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.127, allocations: 6.203 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.127, allocations: 0.9375 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.127, allocations: 0 / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/1.127, allocations: 5 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.127, allocations: 1.766 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/1.128, allocations: 17.25 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/1.128, allocations: 1.438 kB / 1.267 GB, free: 4.773 MB / 0.9981 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 7.014e-05/1.128, allocations: 126.1 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/1.128, allocations: 7.062 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/1.128, allocations: 11.16 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/1.128, allocations: 1.281 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.128, allocations: 0.7969 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.128, allocations: 1.406 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/1.128, allocations: 182 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.128, allocations: 1 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/1.128, allocations: 8.297 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.128, allocations: 5.656 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.128, allocations: 0.5156 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.128, allocations: 1.031 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.128, allocations: 0.5156 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/1.128, allocations: 163.7 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/1.128, allocations: 83.69 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.128, allocations: 5.609 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.128, allocations: 12.53 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/1.128, allocations: 12.56 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/1.128, allocations: 1.062 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.546e-05/1.128, allocations: 105.2 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.128, allocations: 0 / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002235/1.129, allocations: 15.95 kB / 1.267 GB, free: 4.074 MB / 0.9981 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.0001526/1.129, allocations: 103.5 kB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001812/1.129, allocations: 41.92 kB / 1.267 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.129, allocations: 0.7812 kB / 1.267 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/1.129, allocations: 16.2 kB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.129, allocations: 9.312 kB / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/1.13, allocations: 188.8 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/1.13, allocations: 0.6928 MB / 1.268 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/1.13, allocations: 11.89 kB / 1.268 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.13, allocations: 0.8438 kB / 1.268 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.00356/1.134, allocations: 0.9858 MB / 1.269 GB, free: 3.004 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.612795310094953]