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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001311, allocations: 116.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.14 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3035, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002153/0.3057, allocations: 0.8206 MB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.3066, allocations: 0.8702 MB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.3067, allocations: 7.938 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.3068, allocations: 11.86 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.96e-05/0.3069, allocations: 7.875 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.307, allocations: 35.89 kB / 1.021 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3072, allocations: 75.78 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3073, allocations: 27.89 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.3074, allocations: 27.92 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.3074, allocations: 39.78 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3075, allocations: 4 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.3075, allocations: 11.94 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.3075, allocations: 7.984 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3076, allocations: 35.8 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.3077, allocations: 75.69 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3077, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3077, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3077, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 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.0004956/0.3082, allocations: 395.1 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3082, allocations: 8.031 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.3083, allocations: 8.844 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3085, allocations: 204.2 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3086, allocations: 8.312 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.3086, allocations: 4.375 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3088, allocations: 62.23 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3088, allocations: 8.188 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3088, allocations: 3.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3088, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.3089, allocations: 31.98 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.3095, allocations: 316.6 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3096, allocations: 50.66 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.3097, allocations: 26.47 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3097, allocations: 0 / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3097, allocations: 34.5 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3097, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002321/0.31, allocations: 73.58 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.31, allocations: 63.39 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.3101, allocations: 132.5 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3102, allocations: 25.7 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.3102, allocations: 103.9 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.3103, allocations: 11.89 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3103, allocations: 17.72 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3104, allocations: 322.8 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.3105, allocations: 19.94 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.3105, allocations: 15.98 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.3106, allocations: 33.11 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3106, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.3108, allocations: 65.58 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3108, allocations: 8 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3108, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3108, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.3109, allocations: 8 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3109, allocations: 3.938 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.3109, allocations: 11.98 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.311, allocations: 4 kB / 1.023 GB, free: 5.535 MB / 0.795 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 8.21e-05/0.311, allocations: 117.8 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3111, allocations: 7.891 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.3111, allocations: 12.25 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3111, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3111, allocations: 4 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3111, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3113, allocations: 185.6 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3113, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.3114, allocations: 3.984 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3114, allocations: 4 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3114, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3114, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3114, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3116, allocations: 167.3 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.3116, allocations: 77.11 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3116, allocations: 8 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3118, allocations: 7.984 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3118, allocations: 11.98 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3118, allocations: 0 / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.3119, allocations: 106 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3119, allocations: 7.875 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002169/0.3121, allocations: 19.94 kB / 1.024 GB, free: 4.715 MB / 0.795 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.0001482/0.3123, allocations: 103.2 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3124, allocations: 31.98 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3124, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.3125, allocations: 23.92 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.3128, allocations: 11.94 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.3131, allocations: 162.7 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3134, allocations: 0.6885 MB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.3135, allocations: 8.266 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3135, allocations: 7.438 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3135, allocations: 0 / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of Templates: time 0.003086/0.3166, allocations: 0.8563 MB / 1.025 GB, free: 2.773 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) 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) Reference file matches