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 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.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.001419/0.001419, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001413/0.001413, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9252/0.9268, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002132/0.929, allocations: 0.8245 MB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.9301, allocations: 0.8702 MB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.9303, allocations: 3.938 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.9304, allocations: 15.88 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.9305, allocations: 11.88 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.9307, allocations: 27.95 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.9308, allocations: 79.7 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.931, allocations: 28 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.9311, allocations: 31.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.9312, allocations: 31.83 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.9312, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.9312, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.9312, allocations: 19.86 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.9313, allocations: 27.81 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.9314, allocations: 75.73 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9314, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9315, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.9315, allocations: 4 kB / 1.21 GB, free: 11.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005946/0.9321, allocations: 392.8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.9321, allocations: 12.03 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.9322, allocations: 8.844 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.9325, allocations: 201.8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.9325, allocations: 4.375 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.9325, allocations: 12.31 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.9327, allocations: 62.22 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.9327, allocations: 4.125 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.9327, allocations: 7.938 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.9327, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.9328, allocations: 27.98 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.9334, allocations: 320.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.9336, allocations: 42.56 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.9336, allocations: 25.03 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.9336, allocations: 0 / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.9337, allocations: 34.56 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9337, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002646/0.934, allocations: 69.58 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.934, allocations: 51.41 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.9341, allocations: 139.8 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.9342, allocations: 29.7 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.9342, allocations: 96.12 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.9342, allocations: 3.906 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.9343, allocations: 21.7 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9344, allocations: 326.8 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.9345, allocations: 19.92 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.9345, allocations: 16.17 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.9346, allocations: 28.92 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9346, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.9348, allocations: 65.59 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9348, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9348, allocations: 4 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.9348, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.9349, allocations: 7.984 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.9349, allocations: 3.984 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.935, allocations: 23.86 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.935, allocations: 3.938 kB / 1.212 GB, free: 9.312 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 (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.421e-05/0.9351, allocations: 117.8 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.9352, allocations: 7.906 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.9352, allocations: 16.23 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9352, allocations: 4 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9352, allocations: 0 / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9352, allocations: 0 / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.9354, allocations: 185.5 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9354, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.9355, allocations: 4 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9355, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.9355, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9355, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9355, allocations: 11.98 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.9357, allocations: 163.3 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.9358, allocations: 81.02 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.9358, allocations: 4 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.9359, allocations: 11.98 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.936, allocations: 7.984 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.936, allocations: 4 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.9361, allocations: 103.3 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9361, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002326/0.9363, allocations: 7.938 kB / 1.213 GB, free: 8.496 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 (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.0001482/0.9365, allocations: 103.2 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.9366, allocations: 35.97 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9366, allocations: 0 / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.9367, allocations: 27.92 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.937, allocations: 6.031 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.9374, allocations: 204.1 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.9377, allocations: 0.6885 MB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.9377, allocations: 11.44 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.9377, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of Templates: time 0.002454/0.9402, allocations: 0.9856 MB / 1.215 GB, free: 6.379 MB / 0.9356 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=480 -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