Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009597/0.0009597, 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.0008726/0.0008726, allocations: 165.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.8747/0.8747, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.799e-05/8.001e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001262/0.001342, allocations: 0.6899 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.002088, allocations: 0.8198 MB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.002127, allocations: 4 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.002159, allocations: 7.922 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.002234, allocations: 3.938 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.479e-05/0.002308, allocations: 19.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.002388, allocations: 43.8 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.002494, allocations: 11.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.002571, allocations: 27.92 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.002608, allocations: 15.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.002631, allocations: 4 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.002637, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.002654, allocations: 7.984 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.002676, allocations: 11.94 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.002765, allocations: 47.84 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002766, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002768, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002771, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 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.0004373/0.003209, allocations: 286.2 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.003252, allocations: 12.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.003282, allocations: 34.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.003303, allocations: 8.891 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.003382, allocations: 109.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.003392, allocations: 4.375 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.0034, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.00355, allocations: 70.16 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003557, allocations: 12.12 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.003565, allocations: 4.359 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003572, allocations: 4.125 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.003712, allocations: 63.94 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.003988, allocations: 228.1 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.0041, allocations: 58.48 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.004173, allocations: 36.91 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.004183, allocations: 3.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.004201, allocations: 34.56 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.004202, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002866/0.004489, allocations: 137.5 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.004518, allocations: 51.41 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.004579, allocations: 113.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004588, allocations: 25.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.004621, allocations: 84.14 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.004638, allocations: 7.953 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.004661, allocations: 13.66 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.004734, allocations: 322.8 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.004803, allocations: 31.97 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.004874, allocations: 31.95 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.005002, allocations: 64.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005004, allocations: 0 / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001538/0.005158, allocations: 109.5 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005171, allocations: 7.984 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005176, allocations: 4 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.005186, allocations: 0 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.005256, allocations: 15.92 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005261, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.005295, allocations: 11.98 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.0053, allocations: 4 kB / 1.003 GB, free: 9.504 MB / 0.9636 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.067e-05/0.005351, allocations: 113.8 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.005364, allocations: 4.266 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.005384, allocations: 15.98 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.005386, allocations: 3.984 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005389, allocations: 0 / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005392, allocations: 0 / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.005492, allocations: 144.6 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005493, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.005532, allocations: 19.92 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.005533, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005539, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.005541, allocations: 3.984 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005542, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.005721, allocations: 195.4 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.005727, allocations: 3.938 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.005735, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.005784, allocations: 15.98 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.005822, allocations: 3.984 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.005825, allocations: 12 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.005855, allocations: 83.27 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005855, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000142/0.005997, allocations: 11.95 kB / 1.004 GB, free: 8.805 MB / 0.9636 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.0003522/0.00635, allocations: 0.728 MB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.006532, allocations: 71.86 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006533, allocations: 0 / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.006604, allocations: 31.97 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.006812, allocations: 13.56 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.00714, allocations: 155.2 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.007185, allocations: 67.28 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.007208, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.00725, allocations: 20.42 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.00725, allocations: 0 / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.0243, allocations: 2.332 MB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.713, allocations: 1.719 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! Error: Could not read variable avg1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.826229040510952]