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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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: 225.6 MB / 250 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.731 GB, free: 14.02 MB / 0.5762 GB [Timeout remaining time 87] 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=508,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=508,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.001924/0.001924, allocations: 67.89 kB / 1.06 GB, free: 0.543 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 160.7 MB / 1.217 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002204/0.326, allocations: 0.8307 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3271, allocations: 0.8741 MB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.3272, allocations: 4 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.3274, allocations: 15.86 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.3274, allocations: 7.875 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3277, allocations: 35.84 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3278, allocations: 75.77 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3279, allocations: 23.98 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.328, allocations: 27.86 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.3281, allocations: 31.78 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3281, allocations: 8 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3282, allocations: 4 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.3282, allocations: 11.98 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.3282, allocations: 31.8 kB / 1.219 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3284, allocations: 87.55 kB / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3284, allocations: 0 / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3284, allocations: 4 kB / 1.219 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3284, allocations: 0 / 1.219 GB, free: 13.43 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.0006348/0.3291, allocations: 387.1 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3291, allocations: 12.03 kB / 1.219 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.3291, allocations: 16.81 kB / 1.219 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3295, allocations: 196.2 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3295, allocations: 4.375 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3295, allocations: 8.375 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3297, allocations: 58.23 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3297, allocations: 192 / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3297, allocations: 7.938 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3297, allocations: 4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3298, allocations: 35.91 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3304, allocations: 308.8 kB / 1.22 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3305, allocations: 54.58 kB / 1.22 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3306, allocations: 16.92 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3306, allocations: 3.984 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.3307, allocations: 38.64 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3307, allocations: 3.938 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002996/0.331, allocations: 77.55 kB / 1.22 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.331, allocations: 55.41 kB / 1.22 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3311, allocations: 131.7 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3312, allocations: 29.64 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.3312, allocations: 104 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3313, allocations: 11.95 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.3313, allocations: 21.72 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3315, allocations: 318.8 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.3315, allocations: 15.98 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.3316, allocations: 12 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.3317, allocations: 32.84 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3317, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.3318, allocations: 73.56 kB / 1.221 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3318, allocations: 12 kB / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3318, allocations: 0 / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3318, allocations: 0 / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.3319, allocations: 4 kB / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3319, allocations: 3.984 kB / 1.221 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.332, allocations: 4 kB / 1.221 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.332, allocations: 7.984 kB / 1.221 GB, free: 11.18 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 0.0001091/0.3321, allocations: 121.8 kB / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3321, allocations: 7.953 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.3322, allocations: 12.25 kB / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3322, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3322, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3322, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3324, allocations: 185.6 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3324, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.3324, allocations: 3.984 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3324, allocations: 4 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.3324, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3324, allocations: 4 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3324, allocations: 3.938 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3327, allocations: 159.4 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.3327, allocations: 85.06 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3327, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3328, allocations: 11.98 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3329, allocations: 11.98 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.574e-05/0.333, allocations: 114.5 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.333, allocations: 0 / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002168/0.3332, allocations: 15.88 kB / 1.221 GB, free: 10.36 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.0001547/0.3334, allocations: 101.3 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.3335, allocations: 39.91 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3335, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.3336, allocations: 16.09 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3339, allocations: 8.094 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.3343, allocations: 215.9 kB / 1.222 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3346, allocations: 0.6924 MB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3347, allocations: 15.44 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3347, allocations: 4 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.002867/0.3376, allocations: 0.9726 MB / 1.223 GB, free: 8.242 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/jenkins1/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