Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009929/0.0009929, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006808/0.006808, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.59/1.59, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.026/3.026, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 11.91 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4431, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0009418/0.4441, allocations: 439.5 kB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.445, allocations: 0.8312 MB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.4451, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.4451, allocations: 3.938 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.4452, allocations: 0 / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.4454, allocations: 19.98 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.4454, allocations: 51.83 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4456, allocations: 8 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.4456, allocations: 23.86 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.4457, allocations: 19.92 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4457, allocations: 7.938 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.4457, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.4458, allocations: 15.97 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.4458, allocations: 45.56 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.311e-05/0.4459, allocations: 39.84 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4459, allocations: 0 / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4459, allocations: 0 / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.446, allocations: 0 / 1.06 GB, free: 3.891 MB / 0.8106 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.0004902/0.4464, allocations: 361 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4465, allocations: 12.03 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.4465, allocations: 0.9375 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4467, allocations: 172.3 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4467, allocations: 384 / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.4467, allocations: 8.375 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4469, allocations: 77.72 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.4469, allocations: 4 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4469, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.447, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.4472, allocations: 55.95 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.4476, allocations: 296.8 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4478, allocations: 74.52 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.4479, allocations: 36.86 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.448, allocations: 4 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.448, allocations: 34.56 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.448, allocations: 3.938 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004185/0.4484, allocations: 121.5 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.4485, allocations: 59.39 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.4486, allocations: 113.9 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4486, allocations: 29.69 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4486, allocations: 84.14 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.4487, allocations: 11.81 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.4487, allocations: 13.72 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4488, allocations: 326.8 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4489, allocations: 23.98 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.449, allocations: 27.97 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4492, allocations: 64.81 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4493, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002413/0.4495, allocations: 93.66 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4495, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4495, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4496, allocations: 3.984 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4497, allocations: 19.92 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4497, allocations: 4.25 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.4498, allocations: 8 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.4498, allocations: 7.984 kB / 1.062 GB, free: 1.551 MB / 0.8106 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.84e-05/0.4499, allocations: 117.8 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.4499, allocations: 3.906 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.45, allocations: 7.906 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.45, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.45, allocations: 4 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.45, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4502, allocations: 177.5 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4502, allocations: 0 / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.4503, allocations: 19.98 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4503, allocations: 0 / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4503, allocations: 0 / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4503, allocations: 3.984 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4503, allocations: 3.938 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4506, allocations: 203.7 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.4506, allocations: 81.02 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4507, allocations: 11.98 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4508, allocations: 4 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.4508, allocations: 11.98 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4509, allocations: 7.984 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.4509, allocations: 87.28 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4509, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002169/0.4511, allocations: 8 kB / 1.063 GB, free: 0.7148 MB / 0.8106 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.000112/0.4513, allocations: 99.19 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4515, allocations: 75.88 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4515, allocations: 0 / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4516, allocations: 35.97 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4519, allocations: 9.719 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.4523, allocations: 136.7 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.4525, allocations: 0.6848 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.4526, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.4526, allocations: 11.44 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4527, allocations: 4 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.002827/0.4555, allocations: 0.7641 MB / 1.065 GB, free: 14.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches