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.00135/0.00135, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001735/0.001735, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.988 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.987/2.987, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.002154/0.002154, allocations: 67.88 kB / 1.117 GB, free: 41.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3143, allocations: 170 MB / 1.283 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001973/0.3163, allocations: 0.6855 MB / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3174, allocations: 0.8861 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.3175, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3175, allocations: 3.938 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.3176, allocations: 11.94 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3178, allocations: 35.89 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.3179, allocations: 51.86 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.318, allocations: 19.5 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3181, allocations: 35.84 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.3182, allocations: 23.86 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3182, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.3183, allocations: 8 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3183, allocations: 15.92 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.3183, allocations: 23.94 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3185, allocations: 69.44 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3185, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3185, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3185, allocations: 0 / 1.284 GB, free: 10.64 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.0004752/0.319, allocations: 296.2 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.319, allocations: 11.97 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3191, allocations: 38.73 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3192, allocations: 12.89 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3195, allocations: 142.3 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3195, allocations: 8.312 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3195, allocations: 4.375 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3196, allocations: 58.22 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3196, allocations: 3.938 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3196, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3196, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3198, allocations: 31.97 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3202, allocations: 263.8 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3204, allocations: 66.53 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.3205, allocations: 16.92 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3205, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3206, allocations: 34.64 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.3206, allocations: 3.984 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002566/0.3208, allocations: 73.56 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3209, allocations: 59.41 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.321, allocations: 117.8 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.321, allocations: 29.7 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.321, allocations: 92.12 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3211, allocations: 7.891 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3211, allocations: 17.72 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3212, allocations: 326.8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.3213, allocations: 15.98 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.3214, allocations: 47.42 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.3215, allocations: 44.8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3215, allocations: 0 / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.3216, allocations: 61.64 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3216, allocations: 4 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3216, allocations: 4 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3216, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.3217, allocations: 11.98 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3217, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.3218, allocations: 7.984 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3218, allocations: 11.94 kB / 1.286 GB, free: 8.539 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.048e-05/0.3219, allocations: 117.8 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.3219, allocations: 3.953 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3219, allocations: 12 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3219, allocations: 3.938 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3219, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3219, allocations: 3.938 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3221, allocations: 144.7 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3221, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.3221, allocations: 4 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3221, allocations: 4 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3222, allocations: 3.984 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3222, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3222, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3224, allocations: 159.4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.3224, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3224, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.3225, allocations: 7.984 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.3225, allocations: 11.98 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3225, allocations: 384 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.3226, allocations: 103.6 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3226, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002282/0.3228, allocations: 12 kB / 1.287 GB, free: 7.883 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.0004879/0.3233, allocations: 0.6889 MB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.3234, allocations: 31.98 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3234, allocations: 3.938 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.3235, allocations: 15.98 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3238, allocations: 10.34 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3252, allocations: 1.342 MB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.3253, allocations: 71.28 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.3253, allocations: 11.98 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.3254, allocations: 19.44 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3254, allocations: 0 / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.3534, allocations: 2.318 MB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 3.938 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.68346738629043]