Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001724, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001906/0.001906, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 71.39 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6955, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001875/0.6974, allocations: 0.8164 MB / 1.084 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.6982, allocations: 0.8689 MB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.6983, allocations: 1.688 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.6984, allocations: 18.5 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.6985, allocations: 10.64 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.6986, allocations: 34.86 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6987, allocations: 72.17 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.6988, allocations: 28.22 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.6989, allocations: 38.47 kB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.699, allocations: 28.89 kB / 1.085 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.699, allocations: 4.844 kB / 1.085 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.699, allocations: 6.312 kB / 1.085 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.6991, allocations: 12.25 kB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.6991, allocations: 31.41 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.6992, allocations: 75.33 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6992, allocations: 0 / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6992, allocations: 0 / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6992, allocations: 1.25 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004918/0.6997, allocations: 392.2 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.6998, allocations: 8.375 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.6998, allocations: 8.656 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.7, allocations: 207.7 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.7001, allocations: 6.125 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.7001, allocations: 8.469 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7002, allocations: 62.52 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.7003, allocations: 5.344 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7003, allocations: 7.938 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7003, allocations: 1.438 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.7004, allocations: 36.53 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.7009, allocations: 313.1 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.701, allocations: 50.52 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.7011, allocations: 18.89 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.7011, allocations: 1.25 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7012, allocations: 31.41 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7012, allocations: 4 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/0.7014, allocations: 76.42 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7015, allocations: 52.06 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.7016, allocations: 138.4 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.7016, allocations: 30.83 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.7017, allocations: 94.7 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.7017, allocations: 6.656 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.7017, allocations: 18.62 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7019, allocations: 327.8 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.168e-05/0.7019, allocations: 13.31 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.702, allocations: 16.05 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.7021, allocations: 26.94 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7021, allocations: 0 / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.7022, allocations: 70.06 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7023, allocations: 5.25 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7023, allocations: 4.812 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7023, allocations: 1.844 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.7024, allocations: 3.859 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7024, allocations: 1.125 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.7025, allocations: 13.25 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.7025, allocations: 1.375 kB / 1.087 GB, free: 14.41 MB / 0.8419 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 (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.382e-05/0.7026, allocations: 118.7 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.7026, allocations: 8.016 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.7026, allocations: 15.33 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7026, allocations: 1.125 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7027, allocations: 3.938 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7027, allocations: 6.062 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.7029, allocations: 181.9 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7029, allocations: 0 / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.7029, allocations: 9.312 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7029, allocations: 1.094 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.7029, allocations: 4.641 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.7029, allocations: 5.141 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.703, allocations: 4 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.7031, allocations: 163.8 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.7032, allocations: 85.14 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.7032, allocations: 4 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.7033, allocations: 9.75 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.7034, allocations: 7.688 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7034, allocations: 5.469 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.7035, allocations: 104.8 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7035, allocations: 0 / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002146/0.7037, allocations: 11.31 kB / 1.088 GB, free: 13.71 MB / 0.8419 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 (3): * Single equations (assignments): 3 * 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.0001251/0.7038, allocations: 105.4 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.704, allocations: 36.97 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.704, allocations: 1.188 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.7041, allocations: 21.05 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.7043, allocations: 4.656 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.7047, allocations: 212.6 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.705, allocations: 0.6942 MB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.705, allocations: 12.14 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.7051, allocations: 0 / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.002466/0.7075, allocations: 0.9677 MB / 1.09 GB, free: 12.63 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches