Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_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_10_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.001113/0.001113, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 176 kB / 16.92 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 12 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7092, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001164/0.7105, allocations: 0.5331 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.7117, allocations: 0.8701 MB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.7119, allocations: 8 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.712, allocations: 7.875 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.7121, allocations: 11.86 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.7123, allocations: 19.98 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.7124, allocations: 63.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.7125, allocations: 43.95 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.7126, allocations: 31.8 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.7127, allocations: 19.86 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.7128, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.7128, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.7128, allocations: 15.92 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.7129, allocations: 49.5 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.713, allocations: 49.84 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.713, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.713, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.713, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 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.0005731/0.7136, allocations: 395.1 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7136, allocations: 8.031 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.7137, allocations: 8.844 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.7139, allocations: 202.2 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.7139, allocations: 4.375 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.714, allocations: 4.375 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.7141, allocations: 66.17 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.7141, allocations: 192 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.7142, allocations: 7.938 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7142, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.7143, allocations: 43.92 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.7149, allocations: 320.7 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.715, allocations: 54.69 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.7151, allocations: 24.91 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.7151, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.7152, allocations: 30.56 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7152, allocations: 7.938 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002876/0.7155, allocations: 85.5 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7155, allocations: 51.41 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.7156, allocations: 135.7 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7157, allocations: 29.7 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.7157, allocations: 96.05 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.7158, allocations: 11.89 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.7158, allocations: 13.72 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7159, allocations: 318.8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.716, allocations: 19.98 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.7161, allocations: 16.17 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.7162, allocations: 40.92 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7162, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.7163, allocations: 69.53 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7163, allocations: 7.984 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7164, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7164, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.7164, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.7165, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.7165, allocations: 19.92 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7166, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 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.378e-05/0.7167, allocations: 117.8 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.7167, allocations: 3.906 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.7167, allocations: 16.23 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7167, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7168, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7168, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.717, allocations: 185.6 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.717, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.717, allocations: 7.938 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.717, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.717, allocations: 3.984 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7171, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7171, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.7173, allocations: 171.3 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.7173, allocations: 85.02 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.7173, allocations: 7.938 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7174, allocations: 11.98 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.7175, allocations: 11.98 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.7175, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.231e-05/0.7176, allocations: 107.3 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7176, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002436/0.7179, allocations: 11.94 kB / 1.028 GB, free: 10.98 MB / 0.7794 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.0001486/0.718, allocations: 107.2 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.7182, allocations: 39.92 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7182, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.7183, allocations: 19.98 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.7186, allocations: 9.094 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.719, allocations: 214.3 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7193, allocations: 0.6902 MB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.7193, allocations: 15.42 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7193, allocations: 0 / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.002595/0.7219, allocations: 0.9532 MB / 1.03 GB, free: 8.871 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches