Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 104 kB / 15.6 MB, free: 148 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.002422/0.002422, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002065, allocations: 62.78 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4623, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002499/0.4648, allocations: 0.8248 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4659, allocations: 0.88 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.4661, allocations: 7.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.4662, allocations: 11.86 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.4662, allocations: 11.88 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4664, allocations: 23.97 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.4665, allocations: 75.78 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4667, allocations: 35.91 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.4668, allocations: 27.92 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.4669, allocations: 23.86 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.4669, allocations: 8 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.4669, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.467, allocations: 15.92 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.467, allocations: 31.8 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.4671, allocations: 76.03 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4671, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.327e-06/0.4671, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4672, allocations: 3.938 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005677/0.4677, allocations: 387.1 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4678, allocations: 12.03 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4678, allocations: 8.844 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.468, allocations: 200.1 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4681, allocations: 4.375 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4681, allocations: 384 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4682, allocations: 62.23 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4683, allocations: 12.06 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4683, allocations: 3.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4683, allocations: 3.938 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.4684, allocations: 39.97 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.4689, allocations: 312.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.4691, allocations: 50.55 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.4692, allocations: 17.02 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4692, allocations: 3.984 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4692, allocations: 34.56 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4692, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002548/0.4695, allocations: 77.78 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.4695, allocations: 55.41 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4697, allocations: 139 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4697, allocations: 25.7 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.4698, allocations: 100.1 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.4698, allocations: 7.906 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4698, allocations: 17.72 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.47, allocations: 322.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.47, allocations: 15.98 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.4701, allocations: 16 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.4702, allocations: 28.84 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4702, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001293/0.4703, allocations: 69.52 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4703, allocations: 8 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4704, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4704, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.4704, allocations: 11.98 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.4705, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.4705, allocations: 11.98 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4706, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 9.09e-05/0.4706, allocations: 119.5 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4707, allocations: 3.906 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.4707, allocations: 12.25 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4707, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4707, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4707, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4709, allocations: 197.5 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.471, allocations: 8 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.471, allocations: 3.938 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.471, allocations: 4 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.471, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.471, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.471, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4712, allocations: 163.3 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.4713, allocations: 85.02 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4713, allocations: 7.984 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4714, allocations: 7.984 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.4715, allocations: 8 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4715, allocations: 3.984 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.765e-05/0.4715, allocations: 104.7 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4716, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002195/0.4718, allocations: 11.94 kB / 1.073 GB, free: 5.238 MB / 0.8262 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002306/0.472, allocations: 103.8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.4722, allocations: 40.09 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4722, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.4723, allocations: 12 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.4726, allocations: 17.98 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.473, allocations: 180.1 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4733, allocations: 0.6981 MB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.4733, allocations: 4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.4733, allocations: 11.44 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4733, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.003107/0.4765, allocations: 0.8471 MB / 1.075 GB, free: 3.285 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches