Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001815/0.001815, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002138/0.002138, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.77/2.77, 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.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.002043/0.002043, allocations: 68.17 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8541, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002478/0.8565, allocations: 0.7086 MB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.8584, allocations: 0.89 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.8585, allocations: 4 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.8586, allocations: 7.875 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.8587, allocations: 7.875 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.859, allocations: 27.89 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.8592, allocations: 55.86 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.8593, allocations: 15.98 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.8596, allocations: 39.84 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.8597, allocations: 27.86 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.8597, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.8598, allocations: 15.98 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.8598, allocations: 11.94 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.8599, allocations: 23.86 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.8601, allocations: 73.53 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8601, allocations: 0 / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.677e-06/0.8601, allocations: 0 / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.8601, allocations: 4 kB / 1.28 GB, free: 11.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008084/0.8609, allocations: 371.2 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.861, allocations: 12.03 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.8611, allocations: 34.75 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.8613, allocations: 16.88 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.8617, allocations: 200.1 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.8617, allocations: 384 / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.8617, allocations: 4.375 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.8619, allocations: 58.23 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8619, allocations: 7.938 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.8619, allocations: 4 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.8619, allocations: 0 / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.862, allocations: 31.97 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.8626, allocations: 296.7 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.8629, allocations: 70.53 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.863, allocations: 25 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.863, allocations: 0 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.863, allocations: 30.56 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.863, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002761/0.8633, allocations: 77.56 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.8633, allocations: 55.41 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.8634, allocations: 121.8 kB / 1.281 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.8635, allocations: 29.7 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.8635, allocations: 84.14 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.8636, allocations: 15.89 kB / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.8636, allocations: 17.7 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8638, allocations: 318.8 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.8638, allocations: 19.98 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.8639, allocations: 33.89 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/0.864, allocations: 32.86 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.864, allocations: 0 / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001885/0.8642, allocations: 69.62 kB / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8642, allocations: 4 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8642, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.8642, allocations: 4.031 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.8643, allocations: 4 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.8643, allocations: 0 / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.8644, allocations: 11.98 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8644, allocations: 0 / 1.282 GB, free: 9.262 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: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001722/0.8645, allocations: 121.7 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.8646, allocations: 3.953 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.8646, allocations: 11.91 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8646, allocations: 7.984 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8646, allocations: 0 / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8646, allocations: 0 / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.8649, allocations: 177.5 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8649, allocations: 0 / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.8649, allocations: 15.92 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.8649, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8649, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8649, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8649, allocations: 4 kB / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.8652, allocations: 159.4 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.8652, allocations: 81.11 kB / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.8653, allocations: 0 / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.8653, allocations: 7.984 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.8654, allocations: 7.984 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.8654, allocations: 0 / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.8655, allocations: 107.6 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8655, allocations: 4 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002382/0.8657, allocations: 11.95 kB / 1.283 GB, free: 8.449 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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.0007093/0.8665, allocations: 0.6895 MB / 1.283 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.8666, allocations: 27.97 kB / 1.283 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8666, allocations: 4 kB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.8667, allocations: 19.94 kB / 1.283 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.867, allocations: 15.98 kB / 1.283 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.8686, allocations: 1.332 MB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8689, allocations: 0.6902 MB / 1.285 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.869, allocations: 7.984 kB / 1.285 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.869, allocations: 15.44 kB / 1.285 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.869, allocations: 0 / 1.285 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.8945, allocations: 1.768 MB / 1.287 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/9.085, allocations: 3.938 kB / 1.287 GB, free: 3.836 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaT.THigh in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.30115075991489]