Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 114 kB / 16.42 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.00152/0.00152, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.17 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.362/2.362, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9194/0.921, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002159/0.9233, allocations: 0.7025 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.9243, allocations: 0.8301 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.9243, allocations: 5.781 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.9244, allocations: 8.5 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.9245, allocations: 5.766 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.9247, allocations: 30.36 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.9248, allocations: 40.84 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.925, allocations: 13.23 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.9251, allocations: 26.2 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.9252, allocations: 25.09 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.9253, allocations: 4.062 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.9253, allocations: 8.719 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.9253, allocations: 11.92 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.9254, allocations: 17.73 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.9256, allocations: 47.47 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9256, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9256, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9256, allocations: 1.062 kB / 1.09 GB, free: 4.344 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.0006102/0.9262, allocations: 354.8 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.9263, allocations: 8.656 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.9263, allocations: 17.12 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.9265, allocations: 162.9 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9265, allocations: 11.73 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.9265, allocations: 5.406 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.9268, allocations: 69.47 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9268, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.9268, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9268, allocations: 1.219 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.9271, allocations: 52.23 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.9275, allocations: 295.3 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.9278, allocations: 65.89 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.9279, allocations: 32.33 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.9279, allocations: 5.656 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.928, allocations: 31.8 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.928, allocations: 0.75 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004396/0.9284, allocations: 105.8 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.9284, allocations: 51.41 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.9285, allocations: 115.6 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.9285, allocations: 25.7 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.9286, allocations: 91.16 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.9286, allocations: 10.5 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.9287, allocations: 19.97 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.9287, allocations: 317.6 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.9288, allocations: 22.75 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.9289, allocations: 27.09 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.9291, allocations: 54.59 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9292, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002518/0.9294, allocations: 91.02 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9294, allocations: 6.328 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9294, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9295, allocations: 1.094 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.9296, allocations: 15.27 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9296, allocations: 0.5156 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.9297, allocations: 16.8 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9297, allocations: 1.75 kB / 1.092 GB, free: 2.543 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,intLesThr.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.809e-05/0.9298, allocations: 112.6 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.9298, allocations: 2.766 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.9299, allocations: 9.484 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9299, allocations: 1.734 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9299, allocations: 4 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.9299, allocations: 78.84 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.93, allocations: 5.672 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.9301, allocations: 7.672 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.9302, allocations: 11.17 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003114/0.9305, allocations: 176.1 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002614/0.9307, allocations: 260.3 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.9309, allocations: 31.44 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.9309, allocations: 91.89 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of Backend: time 7.41e-07/0.9309, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.9314, allocations: 116.7 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004165/0.9318, allocations: 0.5666 MB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.004052/0.9358, allocations: 0.9884 MB / 1.095 GB, free: 1.113 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches