Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 108.9 kB / 16.41 MB, free: 6.453 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.001406/0.001406, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8965, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002203/0.8987, allocations: 0.8766 MB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.8999, allocations: 0.8974 MB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.9, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.9002, allocations: 11.88 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.9002, allocations: 19.8 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.9004, allocations: 39.95 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.9006, allocations: 107.7 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.9008, allocations: 39.98 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.9009, allocations: 47.77 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.901, allocations: 35.84 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.901, allocations: 8 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.901, allocations: 8 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.9011, allocations: 19.92 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.9011, allocations: 39.73 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.9013, allocations: 95.16 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9013, allocations: 4 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9013, allocations: 0 / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9013, allocations: 0 / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00068/0.902, allocations: 416 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.902, allocations: 12.92 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.9021, allocations: 8.891 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.9024, allocations: 215.1 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.9024, allocations: 8.375 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.9024, allocations: 4.375 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.9027, allocations: 87.83 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.9027, allocations: 192 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.9027, allocations: 11.94 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9027, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.903, allocations: 67.94 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.9036, allocations: 348.6 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.9039, allocations: 66.48 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.904, allocations: 44.91 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.904, allocations: 4 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.9041, allocations: 30.56 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9041, allocations: 3.938 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0005048/0.9046, allocations: 125.6 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.9047, allocations: 51.41 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.9048, allocations: 137.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.9048, allocations: 29.64 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.9049, allocations: 104.1 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.905, allocations: 11.89 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.905, allocations: 21.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9052, allocations: 318.8 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.9053, allocations: 31.98 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.9054, allocations: 27.97 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.9056, allocations: 56.81 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9056, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002742/0.9059, allocations: 101.6 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.9059, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.906, allocations: 3.938 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.906, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.9061, allocations: 15.92 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.9061, allocations: 7.938 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9063, allocations: 19.92 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.9063, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 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 (5): * Single equations (assignments): 5 * 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.0001433/0.9064, allocations: 113.8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.9065, allocations: 4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.9065, allocations: 16.23 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9065, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.9066, allocations: 3.938 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9066, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.9068, allocations: 197.6 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9068, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.9069, allocations: 16.17 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.9069, allocations: 4 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.907, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.907, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.907, allocations: 7.938 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.9074, allocations: 187.4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.9075, allocations: 85.09 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.9075, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.9076, allocations: 11.98 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.9077, allocations: 15.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.9077, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.9078, allocations: 109.8 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9078, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000232/0.9081, allocations: 19.83 kB / 1.173 GB, free: 14.11 MB / 0.9044 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 (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 Backend phase and start with SimCode phase: time 0.0002244/0.9083, allocations: 103.2 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.9086, allocations: 75.88 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9086, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.9088, allocations: 31.97 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.9091, allocations: 12 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.9096, allocations: 195.2 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.9101, allocations: 0.6924 MB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.9101, allocations: 7.984 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.9102, allocations: 19.36 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9102, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.004123/0.9143, allocations: 1.015 MB / 1.175 GB, free: 11.92 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches