Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007094/0.007095, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.853/2.853, allocations: 443.3 MB / 0.7175 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 11.56 kB / 0.8796 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3924, allocations: 155.2 MB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002451/0.3949, allocations: 1.714 MB / 1.033 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3968, allocations: 1.159 MB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3969, allocations: 7.938 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.3973, allocations: 151.6 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.3976, allocations: 139.5 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.3981, allocations: 202.7 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.3985, allocations: 291.2 kB / 1.035 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3986, allocations: 44.38 kB / 1.035 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.3988, allocations: 119.4 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.399, allocations: 147.4 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.399, allocations: 8 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3992, allocations: 43.95 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.3993, allocations: 79.69 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3994, allocations: 140.8 kB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3998, allocations: 347 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3998, allocations: 0 / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3998, allocations: 0 / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3998, allocations: 0 / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008941/0.4007, allocations: 0.5797 MB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4008, allocations: 8.031 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.4008, allocations: 32.56 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.4013, allocations: 378.1 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.4014, allocations: 4 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4014, allocations: 12 kB / 1.037 GB, free: 14.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4016, allocations: 107.3 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4017, allocations: 4 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4017, allocations: 8 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4017, allocations: 0 / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.4019, allocations: 59.95 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.4027, allocations: 0.4925 MB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.403, allocations: 142.6 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4032, allocations: 44.84 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4032, allocations: 7.969 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.4034, allocations: 123.3 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.4035, allocations: 0 / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005444/0.404, allocations: 220 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.4041, allocations: 51.41 kB / 1.038 GB, free: 13.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.4046, allocations: 0.5093 MB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4047, allocations: 29.7 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4048, allocations: 168.3 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.4049, allocations: 39.61 kB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.4049, allocations: 37.7 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4051, allocations: 342.8 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4052, allocations: 100.5 kB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4055, allocations: 135.5 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.4058, allocations: 183.5 kB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4058, allocations: 0 / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005161/0.4063, allocations: 321.6 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4063, allocations: 4 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.4063, allocations: 3.938 kB / 1.04 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4064, allocations: 4 kB / 1.04 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.4066, allocations: 51.91 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4066, allocations: 4 kB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.4067, allocations: 27.89 kB / 1.04 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.4068, allocations: 8 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001884/0.407, allocations: 193.6 kB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.407, allocations: 31.62 kB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.4071, allocations: 43.06 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4071, allocations: 0 / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4071, allocations: 0 / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4071, allocations: 0 / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.4074, allocations: 305.4 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4074, allocations: 0 / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.4075, allocations: 15.92 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4075, allocations: 4 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4075, allocations: 3.938 kB / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4075, allocations: 0 / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4075, allocations: 0 / 1.04 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.4079, allocations: 212.6 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.408, allocations: 116.7 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.4081, allocations: 7.938 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4082, allocations: 15.92 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.4083, allocations: 19.92 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.4083, allocations: 11.98 kB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003347/0.4086, allocations: 315.1 kB / 1.041 GB, free: 9.895 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4086, allocations: 0 / 1.041 GB, free: 9.895 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002872/0.4089, allocations: 55.98 kB / 1.041 GB, free: 9.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001079/0.41, allocations: 428.1 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.4104, allocations: 187.8 kB / 1.042 GB, free: 9.395 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4104, allocations: 0 / 1.042 GB, free: 9.395 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.4106, allocations: 63.91 kB / 1.042 GB, free: 9.332 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.4111, allocations: 87.03 kB / 1.042 GB, free: 9.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.4119, allocations: 0.6084 MB / 1.042 GB, free: 8.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4123, allocations: 0.7792 MB / 1.043 GB, free: 7.812 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.4124, allocations: 50.95 kB / 1.043 GB, free: 7.758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.4125, allocations: 35.42 kB / 1.043 GB, free: 7.723 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.4125, allocations: 0 / 1.043 GB, free: 7.723 MB / 0.795 GB Notification: Performance of Templates: time 0.007549/0.4201, allocations: 3.825 MB / 1.047 GB, free: 3.934 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches