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.001314/0.001314, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001329/0.001329, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00243/0.00243, allocations: 71.89 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3701, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002044/0.3722, allocations: 0.8347 MB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3733, allocations: 0.8819 MB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3734, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3735, allocations: 7.875 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.3735, allocations: 15.86 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3737, allocations: 27.91 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3739, allocations: 79.77 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.374, allocations: 19.98 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.3741, allocations: 27.86 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.3741, allocations: 35.78 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3742, allocations: 4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.3742, allocations: 12 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3742, allocations: 11.92 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.3742, allocations: 27.88 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3744, allocations: 83.55 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3744, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3744, allocations: 0 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3744, allocations: 4 kB / 1.218 GB, free: 13.2 MB / 0.9669 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.0005725/0.375, allocations: 387.1 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.375, allocations: 12.03 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.375, allocations: 8.891 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3753, allocations: 208.1 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3753, allocations: 8.312 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3753, allocations: 4.375 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3755, allocations: 66.23 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3755, allocations: 192 / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3755, allocations: 3.938 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3755, allocations: 4 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3756, allocations: 35.92 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.3761, allocations: 312.8 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3763, allocations: 54.59 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.3764, allocations: 18.02 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3764, allocations: 4 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3764, allocations: 30.56 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3764, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002483/0.3766, allocations: 69.62 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3767, allocations: 59.39 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3768, allocations: 147.6 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3768, allocations: 25.7 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.3769, allocations: 100 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.3769, allocations: 3.953 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3769, allocations: 21.7 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3771, allocations: 326.8 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.3771, allocations: 12 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.3772, allocations: 20.16 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.3773, allocations: 28.84 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3773, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.3774, allocations: 69.62 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3774, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3774, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3775, allocations: 4 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.3775, allocations: 3.938 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3775, allocations: 4 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.3776, allocations: 11.98 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3776, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 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 9.364e-05/0.3777, allocations: 113.8 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3777, allocations: 11.95 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.3778, allocations: 12.23 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3778, allocations: 3.938 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3778, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3778, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.378, allocations: 185.6 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.378, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.378, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.378, allocations: 3.984 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.378, allocations: 0 / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.378, allocations: 4 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.378, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3782, allocations: 167.4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3783, allocations: 85.06 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3783, allocations: 0 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.3784, allocations: 11.98 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.3784, allocations: 7.984 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3784, allocations: 3.938 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.3785, allocations: 105 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3785, allocations: 0 / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002211/0.3787, allocations: 15.94 kB / 1.221 GB, free: 10.12 MB / 0.9669 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.0001596/0.3789, allocations: 107.2 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3791, allocations: 27.98 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3791, allocations: 7.938 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.3791, allocations: 15.98 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.3794, allocations: 4 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.3798, allocations: 198.7 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3801, allocations: 0.6924 MB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.3802, allocations: 3.984 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3802, allocations: 15.42 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3802, allocations: 0 / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of Templates: time 0.003716/0.3839, allocations: 0.8714 MB / 1.223 GB, free: 8.133 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.61459243670106]