Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.00133/0.00133, allocations: 103.8 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.001425/0.001425, 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.841/2.841, allocations: 476.7 MB / 0.7672 GB, free: 5.18 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_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.002168/0.002168, allocations: 63.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8588, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002277/0.8611, allocations: 0.6988 MB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.8624, allocations: 0.8861 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.8625, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.8625, allocations: 7.938 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.698e-05/0.8626, allocations: 19.8 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.8628, allocations: 19.98 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.8629, allocations: 59.83 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.863, allocations: 15.94 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.8631, allocations: 31.92 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.8632, allocations: 35.83 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.8632, allocations: 7.938 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.8633, allocations: 8 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.8633, allocations: 15.94 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.8633, allocations: 27.86 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.8635, allocations: 77.47 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8635, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8635, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.8635, allocations: 0 / 1.28 GB, free: 11.48 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.0005148/0.864, allocations: 371.2 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8641, allocations: 8.031 kB / 1.28 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.8641, allocations: 30.75 kB / 1.28 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.8643, allocations: 24.88 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.8645, allocations: 188.2 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8645, allocations: 12.38 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.8646, allocations: 384 / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.8647, allocations: 58.23 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8647, allocations: 3.938 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.8647, allocations: 3.938 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8647, allocations: 0 / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.8648, allocations: 31.98 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.8653, allocations: 304.8 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.8656, allocations: 66.47 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.8657, allocations: 25 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.8657, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.8657, allocations: 30.56 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.8657, allocations: 4 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002503/0.8659, allocations: 69.77 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.866, allocations: 55.39 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.8661, allocations: 125.8 kB / 1.281 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.8661, allocations: 25.7 kB / 1.281 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.8662, allocations: 96.12 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.8662, allocations: 3.953 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.8662, allocations: 21.66 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8664, allocations: 326.8 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.8664, allocations: 12 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.8665, allocations: 33.73 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.8666, allocations: 24.84 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8666, allocations: 4 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000147/0.8668, allocations: 65.62 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8668, allocations: 4 kB / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8668, allocations: 3.938 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8668, allocations: 4 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.8668, allocations: 7.938 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8668, allocations: 3.984 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.8669, allocations: 12.03 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8669, allocations: 0 / 1.282 GB, free: 9.215 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 (shaH.hys.y,$PRE.shaH.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 9.451e-05/0.867, allocations: 122.2 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.867, allocations: 11.94 kB / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.8671, allocations: 3.906 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8671, allocations: 4 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8671, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8671, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.8673, allocations: 181.6 kB / 1.282 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8673, allocations: 0 / 1.282 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.8673, allocations: 4 kB / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8673, allocations: 4 kB / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.8673, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8673, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8673, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.8675, allocations: 163.4 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.8676, allocations: 85.09 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.8676, allocations: 8 kB / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.8677, allocations: 0 / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.8677, allocations: 11.98 kB / 1.283 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.8677, allocations: 4 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.8678, allocations: 95.64 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8678, allocations: 0 / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002286/0.868, allocations: 11.95 kB / 1.283 GB, free: 8.414 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0005009/0.8685, allocations: 0.6929 MB / 1.283 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.8687, allocations: 36.2 kB / 1.283 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8687, allocations: 0 / 1.283 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.8687, allocations: 16.08 kB / 1.283 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.869, allocations: 8.328 kB / 1.283 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.8705, allocations: 1.336 MB / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.8708, allocations: 0.6884 MB / 1.285 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.8709, allocations: 8 kB / 1.285 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.8709, allocations: 23.42 kB / 1.285 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.8709, allocations: 3.938 kB / 1.285 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.8948, allocations: 1.764 MB / 1.287 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.184, allocations: 5.375 kB / 1.287 GB, free: 3.793 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_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_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaH.H in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.487331392941996]