Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_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_latest_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.002209/0.002209, allocations: 113.7 kB / 16.42 MB, free: 6.508 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.003073/0.003073, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.518/1.518, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.055, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00241/1.058, allocations: 0.692 MB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001116/1.059, allocations: 0.8391 MB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/1.059, allocations: 0 / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/1.059, allocations: 7.875 kB / 1.228 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/1.059, allocations: 7.938 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/1.059, allocations: 19.92 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000101/1.06, allocations: 47.84 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/1.06, allocations: 23.97 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/1.06, allocations: 19.98 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/1.06, allocations: 23.86 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/1.06, allocations: 4 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/1.06, allocations: 4 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/1.06, allocations: 11.98 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/1.06, allocations: 19.86 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/1.06, allocations: 47.86 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.06, allocations: 0 / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.033e-06/1.06, allocations: 0 / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.204e-06/1.06, allocations: 0 / 1.228 GB, free: 11.71 MB / 0.9512 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.0006176/1.061, allocations: 363.8 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.061, allocations: 8.031 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/1.061, allocations: 8.891 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.061, allocations: 172.3 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.061, allocations: 8.375 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.061, allocations: 384 / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/1.061, allocations: 77.56 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.061, allocations: 4 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.061, allocations: 0 / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.061, allocations: 0 / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/1.062, allocations: 51.95 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/1.062, allocations: 300.6 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/1.062, allocations: 62.55 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.062, allocations: 32.91 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/1.063, allocations: 4 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.063, allocations: 30.56 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/1.063, allocations: 0 / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0005177/1.063, allocations: 113.6 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.063, allocations: 51.41 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/1.063, allocations: 105.8 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.063, allocations: 25.7 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/1.063, allocations: 100 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/1.063, allocations: 3.953 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/1.063, allocations: 17.72 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.064, allocations: 322.8 kB / 1.23 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.064, allocations: 27.98 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/1.064, allocations: 23.97 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/1.064, allocations: 56.69 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.064, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002357/1.064, allocations: 81.61 kB / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.064, allocations: 11.98 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.064, allocations: 4 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.064, allocations: 0 / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.064, allocations: 15.98 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.064, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/1.065, allocations: 7.984 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/1.065, allocations: 0 / 1.23 GB, free: 9.445 MB / 0.9512 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 9.253e-05/1.065, allocations: 114.3 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/1.065, allocations: 8 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/1.065, allocations: 7.906 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.065, allocations: 336 / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.065, allocations: 0 / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/1.065, allocations: 81.06 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/1.065, allocations: 11.86 kB / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.065, allocations: 19.92 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/1.065, allocations: 7.984 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003387/1.065, allocations: 173 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003196/1.066, allocations: 254.8 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001152/1.066, allocations: 35.91 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.303e-05/1.066, allocations: 91.2 kB / 1.231 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/1.066, allocations: 4 kB / 1.231 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004574/1.066, allocations: 108.1 kB / 1.231 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005829/1.067, allocations: 0.5725 MB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of Templates: time 0.003469/1.07, allocations: 0.9916 MB / 1.232 GB, free: 6.883 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches