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.1-maint.10.0.x/package.mo", uses=false) 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=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.001785/0.001785, allocations: 107.9 kB / 16.27 MB, free: 6.414 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.001992/0.001992, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.711 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.2 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002129/0.2954, allocations: 0.8281 MB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2965, allocations: 0.8701 MB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.2966, allocations: 4 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2968, allocations: 15.81 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.2968, allocations: 15.84 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.297, allocations: 27.98 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.2971, allocations: 67.84 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2973, allocations: 35.88 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.2974, allocations: 39.78 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.2975, allocations: 31.84 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2975, allocations: 4 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.2975, allocations: 8 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.2975, allocations: 11.94 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.2976, allocations: 31.8 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2977, allocations: 76.02 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2977, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2977, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2977, allocations: 0 / 1.02 GB, free: 8.523 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.0006209/0.2984, allocations: 391.1 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2984, allocations: 11.97 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.2985, allocations: 12.83 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2987, allocations: 196.2 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.2987, allocations: 384 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2987, allocations: 8.375 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2989, allocations: 58.23 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2989, allocations: 192 / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2989, allocations: 15.88 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.299, allocations: 3.938 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2991, allocations: 35.92 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.2996, allocations: 316.7 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.2998, allocations: 50.59 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.2998, allocations: 22.53 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2999, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2999, allocations: 38.55 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2999, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002595/0.3002, allocations: 77.52 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3002, allocations: 55.39 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3004, allocations: 136.5 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3004, allocations: 25.7 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.3005, allocations: 104 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.3005, allocations: 7.891 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3005, allocations: 17.72 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3007, allocations: 322.8 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.3007, allocations: 16 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.3008, allocations: 15.98 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.3009, allocations: 28.84 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3009, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001518/0.301, allocations: 73.52 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3011, allocations: 4 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3011, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3011, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.3012, allocations: 8 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.3012, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.3013, allocations: 15.98 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3013, allocations: 0 / 1.022 GB, free: 6.273 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 9.314e-05/0.3014, allocations: 118.4 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3014, allocations: 7.906 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3014, allocations: 12.23 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3015, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3015, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3015, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3017, allocations: 185.6 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3017, allocations: 3.938 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.3017, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3017, allocations: 3.984 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3017, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3018, allocations: 3.938 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3018, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.302, allocations: 167.3 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.302, allocations: 81.11 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.302, allocations: 0 / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3022, allocations: 15.98 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3022, allocations: 7.984 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3022, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.3023, allocations: 103.2 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3023, allocations: 4 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002231/0.3025, allocations: 11.94 kB / 1.023 GB, free: 5.453 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.0001405/0.3027, allocations: 103.6 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3028, allocations: 43.91 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3029, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.3029, allocations: 19.98 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3032, allocations: 14.28 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.3036, allocations: 188.4 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3039, allocations: 0.6923 MB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.304, allocations: 15.44 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.304, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of Templates: time 0.002653/0.3066, allocations: 0.9626 MB / 1.025 GB, free: 3.355 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=400 -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