Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001548/0.001548, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002225/0.002225, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.88 kB / 1.062 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9869/0.9889, allocations: 160.8 MB / 1.219 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00233/0.9912, allocations: 0.8339 MB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.9925, allocations: 0.8775 MB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.9926, allocations: 2.281 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.9928, allocations: 17.28 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.9928, allocations: 9.688 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.993, allocations: 35.94 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.9932, allocations: 67.31 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.9933, allocations: 31.38 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.9934, allocations: 35.11 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.9935, allocations: 31.28 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.9935, allocations: 4.5 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.9936, allocations: 5.281 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.9936, allocations: 18.12 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.9936, allocations: 38.53 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.9938, allocations: 76.03 kB / 1.221 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.9938, allocations: 3.984 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9938, allocations: 1.188 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9938, allocations: 0 / 1.221 GB, free: 2.105 MB / 0.92 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.0006393/0.9945, allocations: 388.7 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9945, allocations: 9.125 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.9945, allocations: 12.7 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.9949, allocations: 209.2 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.9949, allocations: 2.562 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.9949, allocations: 2.75 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.995, allocations: 66.33 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9951, allocations: 192 / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.9951, allocations: 5.156 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.9951, allocations: 1.438 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.9952, allocations: 37.88 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.9957, allocations: 318.1 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.9959, allocations: 44.64 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.9959, allocations: 20.08 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.996, allocations: 0 / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.996, allocations: 31.62 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.996, allocations: 0 / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002662/0.9963, allocations: 83.3 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.9963, allocations: 52.53 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.9964, allocations: 134.3 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.9965, allocations: 30.67 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.9965, allocations: 100.3 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.9965, allocations: 5.078 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.9966, allocations: 17.56 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9967, allocations: 324.9 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.9968, allocations: 11.81 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.9968, allocations: 16.3 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.9969, allocations: 30.78 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9969, allocations: 3.938 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.9971, allocations: 72.39 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9971, allocations: 9.094 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.9971, allocations: 0 / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9971, allocations: 1.375 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.9972, allocations: 2.375 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.9972, allocations: 1.094 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.9973, allocations: 17.67 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.9973, allocations: 1.094 kB / 1.223 GB, free: 144 kB / 0.92 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.0001155/0.9974, allocations: 125.7 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.9974, allocations: 7.328 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.9975, allocations: 14.28 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9975, allocations: 1.125 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9975, allocations: 4 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.9975, allocations: 0 / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.9977, allocations: 182.4 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9977, allocations: 4.938 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.9977, allocations: 15.14 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9977, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.9977, allocations: 0.8438 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9977, allocations: 1.031 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9977, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.9979, allocations: 159.2 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.998, allocations: 87.09 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.998, allocations: 5.031 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.9981, allocations: 10.52 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.9982, allocations: 7.328 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.9982, allocations: 9.172 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.9982, allocations: 99.58 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9982, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002239/0.9985, allocations: 15.28 kB / 1.223 GB, free: 15.39 MB / 0.9356 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.00015/0.9986, allocations: 107.3 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.9988, allocations: 34.88 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9988, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.9988, allocations: 14.47 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.9991, allocations: 11.64 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.9995, allocations: 178.5 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.9998, allocations: 0.6929 MB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.9999, allocations: 3.094 kB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.9999, allocations: 11.72 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.9999, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.003733/1.004, allocations: 0.8694 MB / 1.225 GB, free: 13.95 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.143070304766297]