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.001188/0.001188, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.00118/0.00118, allocations: 187 kB / 17.34 MB, free: 5.742 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.09 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.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.89 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8467, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002032/0.8488, allocations: 0.7104 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.8498, allocations: 0.8401 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.8498, allocations: 1.188 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.8499, allocations: 4.641 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.85, allocations: 7.938 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.8501, allocations: 27.23 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.8502, allocations: 41.17 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8503, allocations: 16.39 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.8504, allocations: 22.06 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.8505, allocations: 21.25 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.8505, allocations: 4.812 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.8505, allocations: 7.625 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.8506, allocations: 19.59 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.8506, allocations: 19.09 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.8507, allocations: 46.91 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8507, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.427e-06/0.8507, allocations: 1.484 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.8508, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 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.0005063/0.8513, allocations: 351.4 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8513, allocations: 10.38 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.8514, allocations: 6 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.8515, allocations: 177.7 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.8515, allocations: 5.469 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.8515, allocations: 2.594 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.8517, allocations: 68.44 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8518, allocations: 0 / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8518, allocations: 1.312 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.8518, allocations: 1.484 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.852, allocations: 56.77 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.8524, allocations: 290.8 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.8527, allocations: 61.42 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8528, allocations: 33.23 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.8528, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.8528, allocations: 37.19 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.8528, allocations: 0 / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000463/0.8533, allocations: 109.1 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.8533, allocations: 53.06 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.8534, allocations: 106.2 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.8534, allocations: 30.8 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.8535, allocations: 90.42 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8535, allocations: 10.86 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.8535, allocations: 20.22 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.8536, allocations: 317.7 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.8537, allocations: 26.39 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.8538, allocations: 23.48 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.854, allocations: 61.5 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8541, allocations: 4.969 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002362/0.8543, allocations: 79.58 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8543, allocations: 4.625 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8543, allocations: 1.094 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8543, allocations: 0 / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.8545, allocations: 16.91 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8545, allocations: 4 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.8546, allocations: 15.98 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.8546, allocations: 1.953 kB / 1.092 GB, free: 2.508 MB / 0.8575 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 6.343e-05/0.8547, allocations: 113.4 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.8547, allocations: 6.594 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.8547, allocations: 5.484 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.8547, allocations: 1.094 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8547, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8547, allocations: 5.875 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.8549, allocations: 182.5 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8549, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.855, allocations: 15.55 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.855, allocations: 1.375 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.855, allocations: 0.7031 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.855, allocations: 4.938 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.855, allocations: 0.7969 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.8553, allocations: 186.8 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.8554, allocations: 79.59 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.8554, allocations: 1.703 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.8555, allocations: 8.047 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.8556, allocations: 10.77 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8556, allocations: 2.797 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.8556, allocations: 90.84 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.223e-06/0.8556, allocations: 0.875 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000223/0.8559, allocations: 18.47 kB / 1.093 GB, free: 1.816 MB / 0.8575 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.0001105/0.856, allocations: 97.98 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.8563, allocations: 56.52 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8563, allocations: 0.7188 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.8564, allocations: 28.8 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.8567, allocations: 13.53 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.8571, allocations: 167.6 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.8572, allocations: 0.6807 MB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.8572, allocations: 13.19 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.8572, allocations: 0 / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of Templates: time 0.002542/0.8598, allocations: 0.8125 MB / 1.095 GB, free: 0.793 MB / 0.8575 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