Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_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.001279/0.001279, allocations: 108 kB / 15.6 MB, free: 132 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.001265/0.001265, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.33 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2406, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001988/0.2426, allocations: 0.8651 MB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.2436, allocations: 0.8873 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.2437, allocations: 4 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2438, allocations: 15.86 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.2438, allocations: 19.8 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.244, allocations: 31.95 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2441, allocations: 99.7 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2443, allocations: 55.94 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2444, allocations: 47.78 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.2445, allocations: 31.84 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2445, allocations: 12 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.2445, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.2446, allocations: 19.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.2446, allocations: 43.72 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2447, allocations: 92 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2448, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2448, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.2448, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 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.0005812/0.2454, allocations: 421.1 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2454, allocations: 8.031 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.2455, allocations: 42.73 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.2455, allocations: 8.844 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2457, allocations: 200.1 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.2457, allocations: 4.312 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2457, allocations: 8.375 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.246, allocations: 94.2 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.246, allocations: 7.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.246, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.246, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2463, allocations: 67.94 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.2467, allocations: 356.5 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.247, allocations: 62.58 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.2471, allocations: 36.83 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2472, allocations: 8 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2472, allocations: 34.5 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2472, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004291/0.2476, allocations: 113.5 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.2477, allocations: 55.41 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.2478, allocations: 143.2 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2478, allocations: 25.7 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2478, allocations: 108 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.2479, allocations: 15.83 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.2479, allocations: 17.72 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.248, allocations: 318.8 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2481, allocations: 27.98 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2482, allocations: 39.91 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2485, allocations: 56.8 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2485, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002622/0.2487, allocations: 93.56 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2488, allocations: 4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2488, allocations: 4 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2488, allocations: 3.984 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2489, allocations: 11.98 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2489, allocations: 3.938 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.249, allocations: 19.92 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.249, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 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 8.222e-05/0.2491, allocations: 123.5 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.2492, allocations: 11.91 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.2492, allocations: 12.23 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2492, allocations: 4 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2492, allocations: 3.938 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2492, allocations: 0 / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2494, allocations: 185.8 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2494, allocations: 4 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.2495, allocations: 11.98 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2495, allocations: 192 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2495, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2495, allocations: 4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2495, allocations: 3.938 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.2498, allocations: 195.3 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.2499, allocations: 85 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2499, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.25, allocations: 19.98 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.2501, allocations: 15.86 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2501, allocations: 3.984 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.2502, allocations: 101.1 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2502, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002273/0.2504, allocations: 15.94 kB / 1.069 GB, free: 8.801 MB / 0.8262 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.0005634/0.251, allocations: 0.7285 MB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.2513, allocations: 67.89 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2513, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2514, allocations: 35.97 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2517, allocations: 19.91 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2533, allocations: 1.477 MB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2535, allocations: 0.6924 MB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.2536, allocations: 4 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.2536, allocations: 31.36 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2537, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.27, allocations: 2.156 MB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.278, allocations: 24.06 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches