Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_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_10_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.001468/0.001468, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001422/0.001422, allocations: 188 kB / 17.2 MB, free: 5.938 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.31 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.555/2.555, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.48 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002055/0.3021, allocations: 0.7072 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3031, allocations: 0.8351 MB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.3032, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3032, allocations: 7.938 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.3033, allocations: 7.875 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.3035, allocations: 19.98 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.3036, allocations: 55.83 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3037, allocations: 15.98 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.3037, allocations: 11.94 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3038, allocations: 35.83 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3038, allocations: 4 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.3039, allocations: 8 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3039, allocations: 7.984 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.3039, allocations: 19.88 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.304, allocations: 43.84 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.304, allocations: 4 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.304, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3041, allocations: 0 / 1.02 GB, free: 8.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005328/0.3046, allocations: 363.6 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3046, allocations: 8.031 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3047, allocations: 8.938 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3048, allocations: 164.3 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3048, allocations: 8.359 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3049, allocations: 384 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3051, allocations: 73.78 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3051, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3051, allocations: 3.938 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3051, allocations: 0 / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.3053, allocations: 51.95 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3058, allocations: 300.6 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.306, allocations: 62.48 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3061, allocations: 36.91 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3062, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3062, allocations: 34.56 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3062, allocations: 3.938 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004254/0.3066, allocations: 101.6 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3067, allocations: 55.41 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.3068, allocations: 109.8 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3068, allocations: 25.7 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3068, allocations: 84.14 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3069, allocations: 15.8 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3069, allocations: 17.66 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.307, allocations: 326.8 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3071, allocations: 19.98 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.3072, allocations: 27.97 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3074, allocations: 48.81 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3075, allocations: 3.938 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002594/0.3077, allocations: 81.66 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3077, allocations: 8 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3078, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3078, allocations: 4.328 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3079, allocations: 15.92 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3079, allocations: 3.984 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.308, allocations: 4 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.308, allocations: 3.984 kB / 1.022 GB, free: 6.582 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: 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 8.724e-05/0.3081, allocations: 124.2 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3081, allocations: 7.906 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.3082, allocations: 7.906 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3082, allocations: 4 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3082, allocations: 4 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3082, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3084, allocations: 181.5 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3084, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.3085, allocations: 11.98 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3085, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3085, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3085, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3085, allocations: 3.938 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3088, allocations: 187.4 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.3089, allocations: 85.02 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3089, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.309, allocations: 11.98 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.3091, allocations: 11.98 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3091, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.3091, allocations: 87.58 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3091, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002418/0.3094, allocations: 12 kB / 1.022 GB, free: 5.758 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 (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.0001152/0.3095, allocations: 99.19 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3098, allocations: 59.88 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3098, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3099, allocations: 35.98 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3102, allocations: 7.922 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.3106, allocations: 151.6 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3108, allocations: 0.6807 MB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3109, allocations: 23.42 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.3109, allocations: 0 / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of Templates: time 0.002136/0.313, allocations: 0.8146 MB / 1.024 GB, free: 3.828 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches