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.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.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 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.001144/0.001144, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.413/2.413, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002262, allocations: 67.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.5483, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002007/0.5504, allocations: 0.8283 MB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.5514, allocations: 0.8701 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.5515, allocations: 7.938 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.5516, allocations: 15.86 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.5517, allocations: 7.875 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.5519, allocations: 35.91 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.552, allocations: 71.83 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.5521, allocations: 35.97 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.5522, allocations: 27.81 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.5523, allocations: 31.84 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.5523, allocations: 4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.5523, allocations: 8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.5523, allocations: 19.91 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.5524, allocations: 27.81 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.5525, allocations: 77.98 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5525, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5525, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.5526, allocations: 4 kB / 1.019 GB, free: 388 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00052/0.5531, allocations: 391.1 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5531, allocations: 8.031 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.5532, allocations: 34.75 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.5532, allocations: 12.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.5534, allocations: 197.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.5534, allocations: 4.375 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.5534, allocations: 4.375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5536, allocations: 66.22 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5536, allocations: 7.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5536, allocations: 3.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5536, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.5537, allocations: 35.92 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.5542, allocations: 324.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.5544, allocations: 46.59 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.5544, allocations: 21 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.5544, allocations: 3.938 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5545, allocations: 42.55 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5545, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002389/0.5547, allocations: 77.58 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.5548, allocations: 51.41 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5549, allocations: 135.3 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5549, allocations: 25.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.5549, allocations: 100 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.555, allocations: 11.91 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.555, allocations: 17.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5551, allocations: 322.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.5552, allocations: 15.98 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.5552, allocations: 15.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.5553, allocations: 32.84 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5553, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/0.5555, allocations: 61.59 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5555, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5555, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5555, allocations: 7.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.5556, allocations: 7.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5556, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.5557, allocations: 11.92 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.5557, allocations: 7.938 kB / 1.021 GB, free: 14.07 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 8.231e-05/0.5558, allocations: 113.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.5558, allocations: 3.906 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.5558, allocations: 16.25 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.5559, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5559, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5559, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.556, allocations: 185.6 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.556, allocations: 3.938 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.5561, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5561, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5561, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5561, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5561, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.5563, allocations: 163.4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.5564, allocations: 89 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5564, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.5565, allocations: 7.984 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.5565, allocations: 11.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5565, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.5566, allocations: 116.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5566, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002187/0.5568, allocations: 11.91 kB / 1.022 GB, free: 13.26 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.0004085/0.5573, allocations: 0.6894 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5574, allocations: 43.97 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5574, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.5575, allocations: 15.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.5578, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.559, allocations: 1.379 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5593, allocations: 0.6885 MB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.975e-05/0.5593, allocations: 7.984 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.5594, allocations: 19.44 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5594, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7532/1.313, allocations: 1.962 MB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.58, allocations: 9.734 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > 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