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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.923/0.923, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.9506 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.455e-05, allocations: 6.219 kB / 0.9506 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001314/0.001339, allocations: 0.6873 MB / 0.9513 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.002069, allocations: 0.8276 MB / 0.9521 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.002101, allocations: 0 / 0.9521 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.002128, allocations: 3.938 kB / 0.9521 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.002184, allocations: 4 kB / 0.9521 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.526e-05/0.002239, allocations: 11.98 kB / 0.9521 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.00231, allocations: 47.84 kB / 0.9521 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.002403, allocations: 11.98 kB / 0.9521 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.002474, allocations: 31.84 kB / 0.9522 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.002507, allocations: 15.98 kB / 0.9522 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002529, allocations: 4 kB / 0.9522 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-06/0.002535, allocations: 4 kB / 0.9522 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.002551, allocations: 11.92 kB / 0.9522 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.00257, allocations: 8 kB / 0.9522 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.935e-05/0.002649, allocations: 51.78 kB / 0.9523 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002651, allocations: 0 / 0.9523 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.002652, allocations: 0 / 0.9523 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.002655, allocations: 3.938 kB / 0.9523 GB, free: 0.5312 MB / 0.8542 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.0003579/0.003013, allocations: 286.2 kB / 0.9525 GB, free: 224 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.003052, allocations: 12.03 kB / 0.9525 GB, free: 212 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.00308, allocations: 34.75 kB / 0.9526 GB, free: 168 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.003098, allocations: 0.9375 kB / 0.9526 GB, free: 168 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.979e-05/0.003168, allocations: 113.7 kB / 0.9527 GB, free: 28 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003177, allocations: 384 / 0.9527 GB, free: 28 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003185, allocations: 4.375 kB / 0.9527 GB, free: 24 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.003346, allocations: 78.14 kB / 0.9528 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003353, allocations: 192 / 0.9528 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.003361, allocations: 384 / 0.9528 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.003368, allocations: 8.125 kB / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.003504, allocations: 59.92 kB / 0.9528 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.003773, allocations: 232 kB / 0.9531 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.003894, allocations: 66.47 kB / 0.9531 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.00401, allocations: 32.92 kB / 0.9532 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.004022, allocations: 3.938 kB / 0.9532 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.004041, allocations: 34.56 kB / 0.9532 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.004042, allocations: 0 / 0.9532 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000286/0.004328, allocations: 129.6 kB / 0.9533 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.004354, allocations: 51.41 kB / 0.9534 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.004412, allocations: 109.8 kB / 0.9535 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.004423, allocations: 29.7 kB / 0.9535 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.004456, allocations: 84.14 kB / 0.9536 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.004473, allocations: 11.89 kB / 0.9536 GB, free: 15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.004498, allocations: 17.66 kB / 0.9536 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.004569, allocations: 314.8 kB / 0.9539 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.00464, allocations: 43.95 kB / 0.9539 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.004702, allocations: 27.97 kB / 0.954 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.004947, allocations: 72.72 kB / 0.954 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004949, allocations: 0 / 0.954 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001535/0.005102, allocations: 101.6 kB / 0.9541 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.005115, allocations: 4 kB / 0.9541 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00512, allocations: 0 / 0.9541 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.00513, allocations: 0 / 0.9541 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.005204, allocations: 19.92 kB / 0.9542 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.005209, allocations: 4.297 kB / 0.9542 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.005246, allocations: 15.98 kB / 0.9542 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.005251, allocations: 0 / 0.9542 GB, free: 14.37 MB / 0.8698 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 5.037e-05/0.005301, allocations: 113.8 kB / 0.9543 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.005315, allocations: 7.891 kB / 0.9543 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.005332, allocations: 4 kB / 0.9543 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005334, allocations: 7.938 kB / 0.9543 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005337, allocations: 0 / 0.9543 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005339, allocations: 0 / 0.9543 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.005439, allocations: 136.7 kB / 0.9544 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.00544, allocations: 0 / 0.9544 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.005478, allocations: 23.92 kB / 0.9545 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00548, allocations: 336 / 0.9545 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005486, allocations: 0 / 0.9545 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005487, allocations: 0 / 0.9545 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.005489, allocations: 3.984 kB / 0.9545 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.005679, allocations: 199.4 kB / 0.9547 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.005688, allocations: 11.89 kB / 0.9547 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005698, allocations: 4 kB / 0.9547 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.005748, allocations: 11.98 kB / 0.9547 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.00578, allocations: 3.984 kB / 0.9547 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.005782, allocations: 0 / 0.9547 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.005811, allocations: 87.28 kB / 0.9548 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005811, allocations: 0 / 0.9548 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001384/0.005949, allocations: 11.94 kB / 0.9548 GB, free: 13.68 MB / 0.8698 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.0003592/0.006308, allocations: 0.728 MB / 0.9555 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.006483, allocations: 71.86 kB / 0.9556 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006484, allocations: 0 / 0.9556 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.006555, allocations: 35.95 kB / 0.9556 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.006767, allocations: 15.94 kB / 0.9556 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.007092, allocations: 154.5 kB / 0.9558 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.007136, allocations: 71.28 kB / 0.9558 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.007158, allocations: 0 / 0.9558 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.007193, allocations: 12.5 kB / 0.9558 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.007194, allocations: 0 / 0.9558 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.0216, allocations: 2.335 MB / 0.9581 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.716, allocations: 8.75 kB / 0.9581 GB, free: 10.31 MB / 0.8698 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable avg1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! Error: Could not read variable avg1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.802764844149351]