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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001335/0.001336, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.208/1.208, 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 11.0.1-master/package.mo): time 2.366/2.366, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.84 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2242, allocations: 157.4 MB / 1.052 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001856/0.2261, allocations: 0.8779 MB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.227, allocations: 0.8818 MB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.2271, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2272, allocations: 11.86 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.2273, allocations: 3.938 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.2274, allocations: 23.97 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.2275, allocations: 75.78 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2276, allocations: 35.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.2277, allocations: 27.86 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.2278, allocations: 31.84 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2278, allocations: 4 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.2278, allocations: 8 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2278, allocations: 15.92 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.2279, allocations: 31.81 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.228, allocations: 79.95 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.228, allocations: 0 / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.228, allocations: 0 / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.228, allocations: 0 / 1.054 GB, free: 6.469 MB / 0.8106 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.0004502/0.2284, allocations: 383.2 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2285, allocations: 8.625 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2285, allocations: 50.62 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.2286, allocations: 16.78 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2287, allocations: 192.2 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2288, allocations: 8.375 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2288, allocations: 4.375 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2289, allocations: 58.23 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2289, allocations: 3.938 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2289, allocations: 4 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2289, allocations: 3.938 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.229, allocations: 35.98 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.2294, allocations: 316.8 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.2296, allocations: 54.5 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.2297, allocations: 21 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.2297, allocations: 0 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2297, allocations: 30.56 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.2297, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002136/0.2299, allocations: 77.52 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.23, allocations: 55.41 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.2301, allocations: 131.7 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2301, allocations: 29.7 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.2301, allocations: 104 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.2302, allocations: 7.906 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2302, allocations: 21.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.2303, allocations: 318.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.2303, allocations: 15.98 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.2304, allocations: 19.98 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.2305, allocations: 28.84 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2305, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.2306, allocations: 65.81 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2306, allocations: 11.98 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2306, allocations: 0 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2306, allocations: 48 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.2307, allocations: 7.984 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.2307, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.2308, allocations: 11.98 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2308, allocations: 7.938 kB / 1.057 GB, free: 4.172 MB / 0.8106 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 7.281e-05/0.2309, allocations: 117.8 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.2309, allocations: 7.844 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2309, allocations: 16.23 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.231, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.231, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.231, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2311, allocations: 189.6 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2311, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.2312, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2312, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2312, allocations: 7.984 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2312, allocations: 3.938 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2312, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.2314, allocations: 163.4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2314, allocations: 77.11 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2314, allocations: 8 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.2315, allocations: 7.984 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.2316, allocations: 7.984 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2316, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.2316, allocations: 112.5 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2316, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002109/0.2319, allocations: 11.94 kB / 1.057 GB, free: 3.355 MB / 0.8106 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.000411/0.2323, allocations: 0.7031 MB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2324, allocations: 31.98 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2324, allocations: 0 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.2325, allocations: 27.92 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2327, allocations: 9.547 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2339, allocations: 1.381 MB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2341, allocations: 0.6963 MB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.2342, allocations: 7.984 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2342, allocations: 27.42 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2342, allocations: 0 / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.259/1.493, allocations: 1.795 MB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.493, allocations: 214.5 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.48, allocations: 7.875 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > 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