Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 104.7 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.001603/0.001604, 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.08 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002154/0.2736, allocations: 0.6916 MB / 0.951 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2747, allocations: 0.841 MB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.2748, allocations: 0 / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.2748, allocations: 3.938 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.578e-05/0.2749, allocations: 7.922 kB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.275, allocations: 19.98 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.2751, allocations: 55.89 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2753, allocations: 12 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.2753, allocations: 15.92 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.2754, allocations: 27.91 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2754, allocations: 4 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.2754, allocations: 4 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2755, allocations: 15.86 kB / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2755, allocations: 23.92 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.2756, allocations: 39.81 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.2756, allocations: 11.92 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2756, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2756, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005616/0.2762, allocations: 359.6 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2763, allocations: 8.031 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2763, allocations: 4.938 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.2765, allocations: 168.3 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2765, allocations: 8.375 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2765, allocations: 4.375 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.2767, allocations: 69.78 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2767, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2767, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2768, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.277, allocations: 59.86 kB / 0.9527 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.2775, allocations: 292.8 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.2777, allocations: 62.53 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2778, allocations: 28.92 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2778, allocations: 4 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2779, allocations: 38.5 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2779, allocations: 0 / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004143/0.2783, allocations: 109.5 kB / 0.9532 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.2784, allocations: 51.41 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2785, allocations: 109.9 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2785, allocations: 25.7 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.2786, allocations: 96.12 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2786, allocations: 7.812 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.2786, allocations: 21.7 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2788, allocations: 322.7 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2789, allocations: 27.97 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.279, allocations: 23.92 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.2792, allocations: 56.81 kB / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2792, allocations: 0 / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000242/0.2795, allocations: 81.64 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2795, allocations: 8 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2795, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2795, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2796, allocations: 11.98 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2796, allocations: 4.312 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.2797, allocations: 7.984 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2797, allocations: 7.938 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.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.134e-05/0.2798, allocations: 117.7 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.2799, allocations: 7.906 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2799, allocations: 11.89 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2799, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2799, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2799, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2801, allocations: 181.5 kB / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2802, allocations: 0 / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.2802, allocations: 11.98 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2803, allocations: 3.984 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2803, allocations: 0 / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.2803, allocations: 3.984 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2803, allocations: 0 / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.2806, allocations: 187.8 kB / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2807, allocations: 89.02 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2807, allocations: 3.938 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2808, allocations: 7.984 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.2809, allocations: 11.98 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2809, allocations: 4 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.281, allocations: 83.28 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.281, allocations: 0 / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002223/0.2812, allocations: 12 kB / 0.9547 GB, free: 3.996 MB / 0.7325 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000125/0.2813, allocations: 103.2 kB / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.2816, allocations: 63.89 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2816, allocations: 0 / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2817, allocations: 31.91 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.282, allocations: 8 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.2824, allocations: 155.3 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.2828, allocations: 0.6844 MB / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2829, allocations: 11.44 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.2829, allocations: 0 / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of Templates: time 0.002186/0.2851, allocations: 0.8206 MB / 0.9565 GB, free: 2.066 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches