Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.00804/0.00804, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.002117/0.002117, allocations: 196.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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.725/2.725, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6972, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001888/0.6991, allocations: 0.701 MB / 1.221 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.7001, allocations: 0.8001 MB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.7001, allocations: 4 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.7001, allocations: 3.938 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.7002, allocations: 3.938 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.203e-05/0.7003, allocations: 15.98 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.7004, allocations: 43.84 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.7005, allocations: 12 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.7006, allocations: 19.86 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.7006, allocations: 19.92 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.7006, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.7006, allocations: 4 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.7007, allocations: 19.91 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.7007, allocations: 15.88 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.21e-05/0.7008, allocations: 39.86 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.7008, allocations: 4 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7008, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7008, allocations: 0 / 1.222 GB, free: 296 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.000571/0.7014, allocations: 371 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7015, allocations: 8.031 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.7015, allocations: 30.75 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.7015, allocations: 12.89 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.7017, allocations: 164.4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7017, allocations: 4.375 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.7017, allocations: 12.31 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.702, allocations: 62.22 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.702, allocations: 7.938 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.702, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.702, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.7023, allocations: 67.92 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.7027, allocations: 268.9 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.7029, allocations: 62.56 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.7031, allocations: 40.81 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.7031, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.7031, allocations: 30.56 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7032, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005718/0.7037, allocations: 129.6 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.7038, allocations: 55.34 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.7039, allocations: 121.8 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.7039, allocations: 25.7 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.704, allocations: 88.02 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.704, allocations: 11.91 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.704, allocations: 17.72 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7042, allocations: 318.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.7044, allocations: 31.97 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.7045, allocations: 31.95 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.7048, allocations: 72.73 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7048, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003455/0.7052, allocations: 101.5 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7052, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.7052, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7052, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.7054, allocations: 19.98 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.7054, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.7055, allocations: 19.88 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.7055, allocations: 0 / 1.224 GB, free: 13.91 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.698e-05/0.7056, allocations: 117.8 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.7056, allocations: 4 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.7056, allocations: 3.906 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7056, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7057, allocations: 8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7057, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.7059, allocations: 169.6 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7059, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.706, allocations: 15.97 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.706, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.706, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.706, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.706, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.7064, allocations: 203.3 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.7065, allocations: 81.47 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.7065, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7066, allocations: 11.98 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.7067, allocations: 12 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.7067, allocations: 0 / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.7067, allocations: 87.27 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7067, allocations: 3.938 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002222/0.707, allocations: 8 kB / 1.225 GB, free: 13.08 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.0008151/0.7078, allocations: 0.7401 MB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.7082, allocations: 67.92 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7082, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.7084, allocations: 35.97 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.7087, allocations: 7.984 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.7091, allocations: 151 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.7095, allocations: 0.6922 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.7096, allocations: 4 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.7096, allocations: 15.44 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7096, allocations: 0 / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.7325, allocations: 1.632 MB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.631, allocations: 14.72 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches