Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00166/0.00166, allocations: 119.7 kB / 16.82 MB, free: 5.758 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.001669/0.001669, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.591/1.591, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.97 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4781, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.004211/0.4823, allocations: 0.7083 MB / 1.263 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.4844, allocations: 0.8354 MB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.4845, allocations: 0 / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.4846, allocations: 3.938 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4847, allocations: 7.938 kB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.485, allocations: 31.91 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.4852, allocations: 39.95 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.4853, allocations: 8 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4855, allocations: 27.86 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4856, allocations: 23.91 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.4856, allocations: 4 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.4857, allocations: 4 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.4857, allocations: 19.92 kB / 1.264 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.4858, allocations: 15.92 kB / 1.264 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.486, allocations: 47.75 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.486, allocations: 3.984 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.028e-06/0.486, allocations: 7.938 kB / 1.264 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.486, allocations: 0 / 1.264 GB, free: 11.15 MB / 0.9825 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.001131/0.4871, allocations: 355.3 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/0.4872, allocations: 8.625 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.4873, allocations: 8.891 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4875, allocations: 172.3 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.4876, allocations: 8.312 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4876, allocations: 4.375 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.488, allocations: 69.59 kB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.488, allocations: 0 / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.488, allocations: 0 / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.488, allocations: 0 / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.4884, allocations: 59.94 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.4892, allocations: 280.8 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.4895, allocations: 66.47 kB / 1.265 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4897, allocations: 32.92 kB / 1.265 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4897, allocations: 4 kB / 1.265 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.782e-05/0.4898, allocations: 34.55 kB / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.4898, allocations: 0 / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0006281/0.4904, allocations: 109.5 kB / 1.265 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4905, allocations: 55.41 kB / 1.265 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4906, allocations: 109.9 kB / 1.265 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.4906, allocations: 29.7 kB / 1.265 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.4907, allocations: 92.08 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4908, allocations: 7.953 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.4908, allocations: 21.7 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.4911, allocations: 314.8 kB / 1.266 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4912, allocations: 23.97 kB / 1.266 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4914, allocations: 19.98 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.4917, allocations: 64.75 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4917, allocations: 0 / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004043/0.4921, allocations: 85.53 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4921, allocations: 9.875 kB / 1.266 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4921, allocations: 0 / 1.266 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4921, allocations: 0 / 1.266 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4923, allocations: 11.98 kB / 1.266 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4923, allocations: 4 kB / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4924, allocations: 15.98 kB / 1.266 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4924, allocations: 4 kB / 1.266 GB, free: 8.887 MB / 0.9825 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 0.0001349/0.4926, allocations: 114.5 kB / 1.266 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.4926, allocations: 4 kB / 1.266 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.4927, allocations: 11.89 kB / 1.266 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4927, allocations: 3.938 kB / 1.266 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4927, allocations: 0 / 1.266 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.4928, allocations: 89.06 kB / 1.266 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4928, allocations: 3.938 kB / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.493, allocations: 7.984 kB / 1.266 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.493, allocations: 11.98 kB / 1.266 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005248/0.4936, allocations: 172.8 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005285/0.4941, allocations: 254.8 kB / 1.266 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001731/0.4943, allocations: 32.39 kB / 1.266 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.326e-05/0.4943, allocations: 87.22 kB / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of Backend: time 5.21e-07/0.4944, allocations: 0 / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007074/0.4951, allocations: 110.3 kB / 1.267 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0009121/0.496, allocations: 0.5731 MB / 1.267 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.005605/0.5016, allocations: 1 MB / 1.268 GB, free: 6.316 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches