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.001408/0.001408, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001613/0.001613, allocations: 215.5 kB / 22.25 MB, free: 5.074 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.012 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.838/2.838, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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.002015/0.002015, allocations: 65.66 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002577/0.3804, allocations: 0.7107 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3816, allocations: 0.8938 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3817, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3817, allocations: 3.938 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.3818, allocations: 7.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.382, allocations: 31.91 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3822, allocations: 55.84 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3823, allocations: 15.98 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3825, allocations: 39.8 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.3826, allocations: 27.91 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3826, allocations: 4 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.3826, allocations: 8 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.3826, allocations: 15.92 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.3827, allocations: 27.86 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3829, allocations: 75.22 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3829, allocations: 0 / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3829, allocations: 0 / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3829, allocations: 3.938 kB / 1.285 GB, free: 9.824 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.0005792/0.3835, allocations: 290.2 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3835, allocations: 8.031 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.3836, allocations: 42.73 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3838, allocations: 12.89 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.384, allocations: 138.3 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3841, allocations: 384 / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3841, allocations: 4.375 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3842, allocations: 58.23 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3842, allocations: 3.938 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3843, allocations: 8 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3843, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3844, allocations: 27.97 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3848, allocations: 271.8 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3851, allocations: 70.53 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.3852, allocations: 21 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3852, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3852, allocations: 34.5 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3852, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003191/0.3855, allocations: 77.62 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3856, allocations: 55.39 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3857, allocations: 121.8 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3857, allocations: 25.7 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.3858, allocations: 96.06 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3858, allocations: 11.95 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3858, allocations: 13.72 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.386, allocations: 326.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.386, allocations: 12 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.3861, allocations: 29.89 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.3862, allocations: 36.86 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3862, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.3864, allocations: 69.62 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3864, allocations: 8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3864, allocations: 4.031 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3864, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.3864, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.3865, allocations: 3.984 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.3865, allocations: 8 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3865, allocations: 0 / 1.287 GB, free: 7.766 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.0001073/0.3866, allocations: 121.7 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.3867, allocations: 7.938 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.3867, allocations: 16 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3867, allocations: 3.938 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3867, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3867, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3869, allocations: 148.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3869, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.387, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.387, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.387, allocations: 4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.387, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.387, allocations: 4 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3872, allocations: 159.4 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.3872, allocations: 7.938 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3872, allocations: 3.984 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3873, allocations: 4 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3873, allocations: 11.92 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3874, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.778e-05/0.3874, allocations: 103.7 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3874, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002295/0.3877, allocations: 11.95 kB / 1.288 GB, free: 7.094 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.0005396/0.3882, allocations: 0.6851 MB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.3884, allocations: 35.92 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3884, allocations: 4 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.3884, allocations: 11.98 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3888, allocations: 14.75 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3903, allocations: 1.34 MB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3906, allocations: 0.6885 MB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.3907, allocations: 4 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.3907, allocations: 23.36 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3908, allocations: 0 / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.422, allocations: 1.878 MB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.25, allocations: 13.88 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.233276410001054]