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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001108/0.001108, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001617, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.534/1.534, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004176, allocations: 16 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7402, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001005/0.7412, allocations: 445.3 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.7423, allocations: 0.8234 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.7424, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.7424, allocations: 3.938 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.7425, allocations: 3.984 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.7426, allocations: 27.92 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.7427, allocations: 39.92 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.7429, allocations: 11.98 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.743, allocations: 23.91 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.743, allocations: 23.86 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.7431, allocations: 3.938 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.7431, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.7431, allocations: 7.984 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.7432, allocations: 45.58 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.7432, allocations: 31.91 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7432, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7433, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.7433, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 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.0005365/0.7438, allocations: 353.4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7439, allocations: 8.031 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.7439, allocations: 12.84 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.7441, allocations: 172.3 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.7441, allocations: 384 / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.7441, allocations: 4.375 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.7444, allocations: 81.7 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7444, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7444, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7444, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.7446, allocations: 67.94 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.7451, allocations: 288.8 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.7453, allocations: 78.5 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.7454, allocations: 28.89 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.7455, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7455, allocations: 42.55 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.7455, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004418/0.7459, allocations: 129.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.746, allocations: 55.34 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.7461, allocations: 109.8 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7461, allocations: 25.7 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.7462, allocations: 88.08 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.7462, allocations: 11.84 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7462, allocations: 13.72 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7463, allocations: 318.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.7465, allocations: 31.98 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.7466, allocations: 27.97 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.7468, allocations: 68.81 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7468, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002671/0.7471, allocations: 97.48 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7471, allocations: 9.719 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.7471, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7471, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.7472, allocations: 11.98 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7473, allocations: 3.938 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.7473, allocations: 15.98 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.7474, allocations: 4 kB / 1.027 GB, free: 12.05 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,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.855e-05/0.7475, allocations: 114.3 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.7475, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.7475, allocations: 7.906 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7475, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7475, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7475, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.7477, allocations: 181.5 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7477, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.7478, allocations: 15.98 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7478, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7479, allocations: 8 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7479, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.7479, allocations: 7.984 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.7482, allocations: 195.4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.7482, allocations: 81.09 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7482, allocations: 0 / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7484, allocations: 11.98 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.7484, allocations: 11.98 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.7484, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.7485, allocations: 83.22 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7485, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002256/0.7487, allocations: 15.91 kB / 1.028 GB, free: 11.22 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 (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.000119/0.7488, allocations: 107.2 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.7491, allocations: 63.89 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7491, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.7492, allocations: 44.25 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.7495, allocations: 5.547 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.7499, allocations: 158.5 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.7501, allocations: 0.6887 MB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.7502, allocations: 11.44 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7502, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.002222/0.7524, allocations: 0.8047 MB / 1.03 GB, free: 9.281 MB / 0.7794 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