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.001671/0.001672, allocations: 104 kB / 16.41 MB, free: 6.512 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.001823/0.001823, allocations: 187 kB / 17.34 MB, free: 5.742 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 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.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.03 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8885, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002737/0.8913, allocations: 0.8723 MB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.8927, allocations: 0.8935 MB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.8929, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.893, allocations: 19.8 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.8931, allocations: 11.88 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.8934, allocations: 47.88 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.8936, allocations: 95.77 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.8937, allocations: 43.98 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.8939, allocations: 51.77 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.894, allocations: 31.84 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.894, allocations: 8 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.8941, allocations: 8 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.8941, allocations: 19.92 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.8942, allocations: 39.73 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.8943, allocations: 103.6 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8943, allocations: 3.938 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8943, allocations: 4 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.8944, allocations: 0 / 1.17 GB, free: 1.566 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.000685/0.895, allocations: 408.8 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8951, allocations: 8.922 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.8952, allocations: 16.83 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.8955, allocations: 204.1 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.8955, allocations: 8.375 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8955, allocations: 8.375 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.8958, allocations: 87.33 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8958, allocations: 192 / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.8958, allocations: 3.938 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.8958, allocations: 11.92 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.8961, allocations: 71.94 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.8967, allocations: 344.6 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.8969, allocations: 62.53 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.8971, allocations: 40.92 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.8971, allocations: 0 / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.8971, allocations: 34.56 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8971, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004625/0.8976, allocations: 117.5 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8977, allocations: 59.45 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.8978, allocations: 140.1 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.8978, allocations: 29.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.8979, allocations: 104 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.8979, allocations: 7.906 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.898, allocations: 17.72 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8981, allocations: 318.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.8982, allocations: 35.97 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.8983, allocations: 31.97 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.8985, allocations: 52.94 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8985, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000269/0.8988, allocations: 105.5 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8988, allocations: 4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8988, allocations: 3.938 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8989, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.899, allocations: 11.98 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.899, allocations: 3.938 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8991, allocations: 19.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.8991, allocations: 0 / 1.172 GB, free: 15.02 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 9.717e-05/0.8992, allocations: 125.8 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.8993, allocations: 11.84 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.8993, allocations: 8.25 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8993, allocations: 4 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8993, allocations: 3.938 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8993, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.8995, allocations: 189.6 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8996, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.8996, allocations: 15.92 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8997, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.8997, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8997, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8997, allocations: 3.938 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.9, allocations: 187.4 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.9, allocations: 81.02 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.9001, allocations: 12 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9002, allocations: 15.97 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.9003, allocations: 15.92 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.9003, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.9004, allocations: 95.27 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9004, allocations: 0 / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000231/0.9006, allocations: 16 kB / 1.173 GB, free: 14.14 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.0001518/0.9008, allocations: 107.4 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.9011, allocations: 67.98 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9011, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.9012, allocations: 31.97 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.9015, allocations: 26.45 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.902, allocations: 220.6 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.9023, allocations: 0.6945 MB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.9023, allocations: 15.42 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.9023, allocations: 3.938 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.002763/0.9051, allocations: 1.124 MB / 1.175 GB, free: 11.8 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 -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