Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001456/0.001456, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.652/1.652, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.917/2.917, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002941/1.013, allocations: 0.7541 MB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.015, allocations: 0.839 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/1.015, allocations: 4 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/1.015, allocations: 3.938 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/1.015, allocations: 7.922 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/1.015, allocations: 19.98 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/1.016, allocations: 35.92 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/1.016, allocations: 23.97 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/1.016, allocations: 15.94 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/1.016, allocations: 19.91 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/1.016, allocations: 4 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/1.016, allocations: 4 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/1.016, allocations: 11.92 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/1.016, allocations: 19.86 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/1.016, allocations: 43.86 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/1.016, allocations: 0 / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/1.016, allocations: 0 / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.016, allocations: 0 / 1.018 GB, free: 0.9414 MB / 0.7637 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.0007931/1.017, allocations: 365.3 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.017, allocations: 8.031 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/1.017, allocations: 4.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.017, allocations: 180.2 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/1.017, allocations: 8.312 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.017, allocations: 4.375 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/1.018, allocations: 69.77 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.018, allocations: 7.984 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.018, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.018, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/1.018, allocations: 51.95 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/1.019, allocations: 284.8 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/1.019, allocations: 66.53 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.019, allocations: 32.92 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.019, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.019, allocations: 34.55 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/1.019, allocations: 0 / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005085/1.02, allocations: 113.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.02, allocations: 55.41 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/1.02, allocations: 105.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/1.02, allocations: 25.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/1.02, allocations: 88.14 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.02, allocations: 11.75 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/1.02, allocations: 21.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002096/1.02, allocations: 322.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.02, allocations: 23.97 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/1.02, allocations: 23.98 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/1.021, allocations: 48.81 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.021, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000272/1.021, allocations: 85.64 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.021, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.021, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.021, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.021, allocations: 11.98 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.021, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/1.021, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/1.021, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 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,intGreEquThr.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.0001205/1.021, allocations: 125.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/1.021, allocations: 3.906 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/1.021, allocations: 15.89 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.021, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.021, allocations: 336 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.021, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/1.022, allocations: 177.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.022, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/1.022, allocations: 19.91 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.022, allocations: 3.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/1.022, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.022, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.022, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/1.022, allocations: 179.4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/1.022, allocations: 85.02 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/1.022, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.022, allocations: 15.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.023, allocations: 11.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/1.023, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.386e-05/1.023, allocations: 91.27 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.023, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002168/1.023, allocations: 4 kB / 1.021 GB, free: 13.85 MB / 0.7794 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 (intGreEquThr.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.0001836/1.023, allocations: 107.7 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002792/1.023, allocations: 55.95 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.023, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/1.023, allocations: 31.97 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/1.024, allocations: 5.891 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/1.024, allocations: 153.5 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/1.025, allocations: 0.6809 MB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.407e-05/1.025, allocations: 7.984 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/1.025, allocations: 15.44 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/1.025, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.004064/1.029, allocations: 0.7686 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches