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.001266/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001459/0.001459, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.706/2.706, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7559, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002259/0.7582, allocations: 0.7696 MB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.7593, allocations: 0.8351 MB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.7593, allocations: 3.938 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.7594, allocations: 3.938 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.7595, allocations: 4 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.7596, allocations: 27.95 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.7597, allocations: 39.86 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7598, allocations: 19.98 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.7599, allocations: 15.94 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.76, allocations: 27.83 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.76, allocations: 4 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.76, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.7601, allocations: 7.984 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.7601, allocations: 15.88 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.7602, allocations: 47.84 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7602, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7602, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7602, allocations: 0 / 1.018 GB, free: 1.094 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.0005457/0.7608, allocations: 363.7 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7608, allocations: 8.031 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.7609, allocations: 4.938 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.761, allocations: 172.2 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.761, allocations: 8.359 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.761, allocations: 4.375 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7613, allocations: 65.78 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7613, allocations: 7.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7613, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7613, allocations: 4 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.7616, allocations: 47.95 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.7621, allocations: 288.8 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.7623, allocations: 70.52 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.7624, allocations: 32.88 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.7625, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7625, allocations: 30.56 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.7625, allocations: 3.938 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004444/0.763, allocations: 113.5 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.763, allocations: 51.41 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.7631, allocations: 109.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7631, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.7632, allocations: 84.14 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.7632, allocations: 23.67 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.7633, allocations: 17.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7634, allocations: 322.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.7636, allocations: 19.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.7637, allocations: 31.91 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.7639, allocations: 52.81 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7639, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002403/0.7641, allocations: 81.94 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7641, allocations: 4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7642, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7642, allocations: 48 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.7643, allocations: 19.91 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7643, allocations: 3.984 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.7644, allocations: 12 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.7644, allocations: 3.984 kB / 1.02 GB, free: 14.83 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 0.0001142/0.7646, allocations: 114.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.7646, allocations: 7.906 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.7646, allocations: 7.906 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7646, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.7647, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7647, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.7649, allocations: 173.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7649, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.765, allocations: 11.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.765, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.765, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.765, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.765, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.7653, allocations: 183.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.7654, allocations: 81.02 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7654, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7655, allocations: 19.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.7656, allocations: 11.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.7656, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.7657, allocations: 87.27 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7657, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002188/0.7659, allocations: 4 kB / 1.021 GB, free: 14.02 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.0001373/0.7661, allocations: 103.2 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.7663, allocations: 55.94 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7663, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.7665, allocations: 39.91 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.7668, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.7672, allocations: 143.2 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.7675, allocations: 0.6809 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.7675, allocations: 7.938 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.7676, allocations: 15.44 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7676, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002983/0.7706, allocations: 0.767 MB / 1.023 GB, free: 12.14 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/jenkins/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