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.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.001784/0.001784, allocations: 108.9 kB / 16.46 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.001965/0.001965, 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.776/2.776, allocations: 476.7 MB / 0.7672 GB, free: 5.219 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.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"}) [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.003346/0.003346, allocations: 71.89 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9111/0.9144, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001823/0.9162, allocations: 0.7041 MB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.9172, allocations: 0.8393 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.9172, allocations: 0 / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.9173, allocations: 3.938 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.9173, allocations: 15.91 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.786e-05/0.9174, allocations: 11.98 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.9175, allocations: 47.8 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.9176, allocations: 7.984 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.9177, allocations: 23.92 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.9177, allocations: 15.92 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.9177, allocations: 4 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.9177, allocations: 4 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.9178, allocations: 7.984 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.9178, allocations: 19.88 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.9179, allocations: 41.69 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9179, allocations: 4 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9179, allocations: 0 / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9179, allocations: 0 / 1.28 GB, free: 11.63 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.0005316/0.9184, allocations: 369.7 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.9185, allocations: 12.03 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.9185, allocations: 34.75 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.9185, allocations: 0.9375 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9186, allocations: 176.3 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.9187, allocations: 4.375 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.9187, allocations: 4.375 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.9189, allocations: 70.2 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9189, allocations: 7.922 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.9189, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9189, allocations: 4 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.9192, allocations: 67.86 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.9196, allocations: 268.9 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.9198, allocations: 50.48 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.92, allocations: 44.91 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.92, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.92, allocations: 34.56 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.92, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005603/0.9206, allocations: 133.5 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.9206, allocations: 55.39 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.9207, allocations: 105.9 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.9207, allocations: 29.64 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.9208, allocations: 96.05 kB / 1.282 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.9208, allocations: 7.953 kB / 1.282 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.9208, allocations: 17.72 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9209, allocations: 314.8 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.9211, allocations: 31.97 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.9213, allocations: 35.95 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.9215, allocations: 64.73 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9215, allocations: 4 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003437/0.9219, allocations: 105.5 kB / 1.282 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.9219, allocations: 8 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.9219, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.9219, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.922, allocations: 15.98 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.9221, allocations: 0 / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.9221, allocations: 15.98 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.9221, allocations: 4 kB / 1.282 GB, free: 9.246 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.543e-05/0.9222, allocations: 111.8 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.9223, allocations: 7.984 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.9226, allocations: 109.5 kB / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9226, allocations: 8 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9226, allocations: 0 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9226, allocations: 384 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.9228, allocations: 173.5 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.9228, allocations: 0 / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.9229, allocations: 15.97 kB / 1.283 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9229, allocations: 4 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.923, allocations: 0 / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.923, allocations: 0 / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.923, allocations: 4 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.9234, allocations: 195.4 kB / 1.283 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.9234, allocations: 81.06 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.9234, allocations: 11.92 kB / 1.283 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.9235, allocations: 11.98 kB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.9236, allocations: 4 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.9236, allocations: 3.938 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.9236, allocations: 95.2 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9236, allocations: 0 / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000211/0.9239, allocations: 4 kB / 1.283 GB, free: 8.312 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.0007245/0.9246, allocations: 0.7285 MB / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.9249, allocations: 71.86 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9249, allocations: 4 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.9251, allocations: 35.97 kB / 1.284 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.9254, allocations: 7.984 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.9259, allocations: 157.5 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.9262, allocations: 0.6846 MB / 1.285 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.9262, allocations: 4 kB / 1.285 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.9262, allocations: 15.44 kB / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.9262, allocations: 0 / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.9493, allocations: 1.634 MB / 1.286 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.351, allocations: 6.016 kB / 1.286 GB, free: 4.965 MB / 0.9825 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.473166052019224]