Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_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_latest_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.001581/0.001581, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001918/0.001918, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 1.055 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00381/1.159, allocations: 0.8733 MB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001989/1.161, allocations: 0.8857 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/1.161, allocations: 7.938 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/1.161, allocations: 15.86 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.026e-05/1.161, allocations: 11.88 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/1.162, allocations: 39.88 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/1.162, allocations: 99.7 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/1.162, allocations: 51.95 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/1.162, allocations: 39.91 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/1.163, allocations: 47.77 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/1.163, allocations: 8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/1.163, allocations: 11.94 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/1.163, allocations: 15.92 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/1.163, allocations: 35.8 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/1.163, allocations: 99.64 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/1.163, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.284e-06/1.163, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.163, allocations: 0 / 1.211 GB, free: 11.35 MB / 0.9356 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.0009991/1.164, allocations: 412.8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.164, allocations: 8.031 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/1.164, allocations: 8.844 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/1.165, allocations: 216 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/1.165, allocations: 384 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/1.165, allocations: 8.375 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/1.165, allocations: 94.2 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.165, allocations: 192 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/1.165, allocations: 3.938 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.165, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/1.166, allocations: 67.94 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/1.167, allocations: 352.6 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/1.167, allocations: 62.53 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.167, allocations: 36.88 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/1.167, allocations: 4 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.167, allocations: 38.55 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/1.167, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0007986/1.168, allocations: 109.5 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.168, allocations: 59.39 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/1.169, allocations: 143.4 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/1.169, allocations: 29.7 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.169, allocations: 103.9 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/1.169, allocations: 11.89 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/1.169, allocations: 21.66 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.169, allocations: 318.8 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/1.169, allocations: 31.91 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/1.17, allocations: 31.98 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/1.17, allocations: 60.8 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.17, allocations: 0 / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005275/1.17, allocations: 93.75 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.171, allocations: 7.984 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.171, allocations: 4 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.171, allocations: 4 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.171, allocations: 11.98 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.171, allocations: 11.81 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/1.171, allocations: 15.98 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.171, allocations: 4 kB / 1.213 GB, free: 8.789 MB / 0.9356 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.0001497/1.171, allocations: 117.8 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/1.171, allocations: 15.89 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/1.171, allocations: 8.25 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.171, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.171, allocations: 7.938 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.171, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/1.172, allocations: 189.6 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.172, allocations: 0 / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.172, allocations: 15.98 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.172, allocations: 0 / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.172, allocations: 192 / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.172, allocations: 4 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.172, allocations: 3.938 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/1.173, allocations: 191.3 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/1.173, allocations: 89.02 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/1.173, allocations: 0 / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/1.173, allocations: 19.98 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/1.173, allocations: 19.91 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.173, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001146/1.173, allocations: 97.3 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.21e-07/1.173, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004707/1.174, allocations: 16 kB / 1.214 GB, free: 7.91 MB / 0.9356 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.0002138/1.174, allocations: 99.25 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005188/1.175, allocations: 67.94 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.175, allocations: 0 / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/1.175, allocations: 35.91 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/1.175, allocations: 11.94 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/1.176, allocations: 224.5 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/1.177, allocations: 0.6924 MB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/1.177, allocations: 15.42 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/1.177, allocations: 0 / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.004456/1.181, allocations: 1.13 MB / 1.216 GB, free: 5.582 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches