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.001434/0.001434, allocations: 107.7 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002342/0.002342, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 75.89 kB / 1.112 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9554, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002475/0.9579, allocations: 0.708 MB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.9591, allocations: 0.8354 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.9591, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.9592, allocations: 3.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.9593, allocations: 7.922 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.044e-05/0.9593, allocations: 15.98 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9594, allocations: 47.84 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.9596, allocations: 4 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.9596, allocations: 23.86 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.9597, allocations: 23.91 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.9597, allocations: 4 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.9597, allocations: 4 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.9597, allocations: 4 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.9598, allocations: 23.86 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.9599, allocations: 41.69 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9599, allocations: 4 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9599, allocations: 0 / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9599, allocations: 0 / 1.28 GB, free: 11.6 MB / 0.9825 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.0005839/0.9605, allocations: 371.2 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9605, allocations: 8.031 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.9606, allocations: 34.75 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.9606, allocations: 4.938 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.9607, allocations: 172.3 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9608, allocations: 4.375 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.9608, allocations: 384 / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.961, allocations: 78.14 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.961, allocations: 3.938 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.961, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.961, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.9613, allocations: 63.94 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9617, allocations: 264.9 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.962, allocations: 58.47 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.9621, allocations: 36.92 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.9621, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.9622, allocations: 42.55 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.9622, allocations: 0 / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005529/0.9627, allocations: 129.5 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.9628, allocations: 51.41 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.9629, allocations: 109.8 kB / 1.281 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.9629, allocations: 29.64 kB / 1.281 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.9629, allocations: 92.08 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.963, allocations: 7.938 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.963, allocations: 17.72 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9631, allocations: 310.8 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.9633, allocations: 39.95 kB / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.9634, allocations: 27.97 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.9637, allocations: 76.72 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9637, allocations: 4 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000338/0.964, allocations: 97.58 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9641, allocations: 4 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9641, allocations: 3.938 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9641, allocations: 0 / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.9642, allocations: 19.97 kB / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.9642, allocations: 0 / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.9643, allocations: 19.98 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.9643, allocations: 0 / 1.282 GB, free: 9.227 MB / 0.9825 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.799e-05/0.9644, allocations: 109.8 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.9644, allocations: 4 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.9644, allocations: 7.906 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9644, allocations: 336 / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9645, allocations: 3.938 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.9645, allocations: 0 / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.9646, allocations: 181.5 kB / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9646, allocations: 0 / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.9647, allocations: 19.97 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9647, allocations: 0 / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.9648, allocations: 0 / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9648, allocations: 0 / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.9648, allocations: 4.312 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.9652, allocations: 199.3 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.9652, allocations: 85.06 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9652, allocations: 0 / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.9653, allocations: 11.98 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.9654, allocations: 3.984 kB / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.9654, allocations: 4 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.9655, allocations: 99.19 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9655, allocations: 0 / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002165/0.9657, allocations: 8 kB / 1.283 GB, free: 8.395 MB / 0.9825 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.0007275/0.9664, allocations: 0.7324 MB / 1.284 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.9667, allocations: 63.92 kB / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9668, allocations: 0 / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.9669, allocations: 35.95 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.9672, allocations: 14.81 kB / 1.284 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.9677, allocations: 159 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.968, allocations: 0.6807 MB / 1.284 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.9681, allocations: 7.938 kB / 1.284 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.9681, allocations: 11.44 kB / 1.284 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9681, allocations: 4 kB / 1.284 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.9919, allocations: 1.648 MB / 1.286 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.987, allocations: 5.875 kB / 1.286 GB, free: 5.039 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.244152587139979]