Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.005112/0.005112, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001485/0.001485, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 79.88 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.659, allocations: 159.1 MB / 1.22 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001808/0.6608, allocations: 0.7069 MB / 1.221 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.6618, allocations: 0.8079 MB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.6618, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.6619, allocations: 3.938 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.662, allocations: 3.938 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.021e-05/0.662, allocations: 11.98 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.6621, allocations: 51.78 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.6622, allocations: 12 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.6623, allocations: 11.98 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.6624, allocations: 31.84 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.6624, allocations: 4 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.6624, allocations: 4 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.6624, allocations: 7.984 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.6625, allocations: 19.86 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.6626, allocations: 35.88 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6626, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6626, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6626, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005393/0.6631, allocations: 371 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6632, allocations: 8.031 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.6632, allocations: 38.73 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.6633, allocations: 4.891 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.6634, allocations: 168.3 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.6634, allocations: 384 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6634, allocations: 4.359 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.6637, allocations: 74.22 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.6637, allocations: 3.938 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.6637, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.6637, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.664, allocations: 63.92 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.6644, allocations: 288.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.6646, allocations: 58.53 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.6648, allocations: 36.92 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.6648, allocations: 0 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6649, allocations: 38.55 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.6649, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.6654, allocations: 125.5 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6655, allocations: 51.41 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.6656, allocations: 117.8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6656, allocations: 25.7 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.6657, allocations: 88.06 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.6657, allocations: 19.84 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.6657, allocations: 9.719 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6659, allocations: 318.8 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.666, allocations: 35.95 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.6662, allocations: 31.97 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.6665, allocations: 68.72 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6665, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.6669, allocations: 101.6 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6669, allocations: 8 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6669, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6669, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.667, allocations: 15.97 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.6671, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.6672, allocations: 11.94 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.6672, allocations: 8 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.231e-05/0.6673, allocations: 113.8 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.6673, allocations: 4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.6677, allocations: 105.5 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6677, allocations: 384 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6677, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6677, allocations: 7.984 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.6679, allocations: 165.6 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6679, allocations: 3.984 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.668, allocations: 11.98 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.668, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.668, allocations: 8 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.668, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.668, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.6684, allocations: 199.4 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.6685, allocations: 77.11 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.6685, allocations: 4 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6686, allocations: 15.92 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.6687, allocations: 11.92 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6687, allocations: 8 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.6688, allocations: 91.27 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.844e-06/0.6688, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000226/0.669, allocations: 7.938 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0007111/0.6697, allocations: 0.7285 MB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.6701, allocations: 71.86 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6701, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.6703, allocations: 39.95 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.6706, allocations: 9.406 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.671, allocations: 155 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6713, allocations: 0.6845 MB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.6713, allocations: 0 / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.6714, allocations: 27.42 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.6714, allocations: 0 / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.6919, allocations: 1.617 MB / 1.228 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.172, allocations: 11.19 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches