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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001315/0.001314, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.156/1.156, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.219/2.219, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4657, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001801/0.4675, allocations: 0.9301 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.4684, allocations: 0.8741 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.4685, allocations: 8 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.4686, allocations: 15.86 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.4687, allocations: 7.922 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.4688, allocations: 31.97 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.4689, allocations: 103.7 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.469, allocations: 47.97 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.4691, allocations: 43.78 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.4692, allocations: 39.83 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.4692, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.4693, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.4693, allocations: 15.94 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.4693, allocations: 47.72 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.4694, allocations: 89.97 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4694, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4694, allocations: 4 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4695, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 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.0005135/0.47, allocations: 419 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.47, allocations: 12.03 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.47, allocations: 34.75 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.4701, allocations: 12.84 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.4703, allocations: 204 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.4703, allocations: 8.375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4703, allocations: 8.359 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4705, allocations: 90.2 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4705, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4705, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.4705, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.4708, allocations: 67.94 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.4712, allocations: 344.6 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4714, allocations: 66.53 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4715, allocations: 40.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4715, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.4715, allocations: 38.56 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4715, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003786/0.4719, allocations: 113.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.472, allocations: 51.41 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.472, allocations: 140.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4721, allocations: 25.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.4721, allocations: 112 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.4721, allocations: 15.81 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.4722, allocations: 21.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.4723, allocations: 314.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4724, allocations: 31.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.4725, allocations: 31.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.4727, allocations: 60.81 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4727, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002325/0.4729, allocations: 93.55 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4729, allocations: 8 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.4729, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.473, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.4731, allocations: 12.17 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4731, allocations: 11.88 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.4732, allocations: 15.97 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4732, allocations: 4 kB / 1.021 GB, free: 13.8 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 (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 7.46e-05/0.4733, allocations: 118.3 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4733, allocations: 7.906 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.4733, allocations: 20.19 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4733, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4733, allocations: 7.922 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4733, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.4735, allocations: 181.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4735, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.4736, allocations: 11.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4736, allocations: 3.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4736, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4736, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4736, allocations: 7.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.4739, allocations: 191.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.4739, allocations: 85.14 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.474, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4741, allocations: 23.97 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.4741, allocations: 15.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4741, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.4742, allocations: 104.4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4742, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002104/0.4744, allocations: 15.98 kB / 1.022 GB, free: 12.92 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 (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.0004859/0.4749, allocations: 0.7202 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4752, allocations: 71.88 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.4752, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4753, allocations: 31.97 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4755, allocations: 15.94 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.477, allocations: 1.497 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.4772, allocations: 0.6963 MB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.4772, allocations: 8 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.4773, allocations: 27.42 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.4773, allocations: 0 / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.185/1.662, allocations: 1.967 MB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.662, allocations: 195.8 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/3.251, allocations: 3.938 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > 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