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.001715/0.001715, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002341/0.002341, allocations: 219.5 kB / 22.26 MB, free: 5.121 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.969 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.852/2.852, allocations: 476.7 MB / 0.7707 GB, free: 4.273 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.002043/0.002043, allocations: 67.41 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002365/0.3831, allocations: 0.7103 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3847, allocations: 0.8861 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3847, allocations: 4 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.3848, allocations: 3.938 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3849, allocations: 11.86 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3851, allocations: 31.91 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3853, allocations: 59.84 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3854, allocations: 12 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3855, allocations: 35.84 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.3856, allocations: 27.91 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3857, allocations: 4 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.3857, allocations: 12 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3857, allocations: 11.94 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.3858, allocations: 23.86 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3859, allocations: 79.16 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3859, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3859, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.386, allocations: 7.938 kB / 1.285 GB, free: 9.676 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.0005405/0.3865, allocations: 292.2 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3865, allocations: 8.031 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3866, allocations: 38.75 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.3868, allocations: 16.88 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.387, allocations: 134.4 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.387, allocations: 384 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3871, allocations: 12.38 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3872, allocations: 58.17 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3872, allocations: 7.938 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3873, allocations: 3.984 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3873, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3874, allocations: 27.98 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.3879, allocations: 267.9 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.3881, allocations: 74.45 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.3882, allocations: 12.92 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3882, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3883, allocations: 34.66 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.3883, allocations: 7.984 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002996/0.3886, allocations: 73.61 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3886, allocations: 55.34 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3887, allocations: 121.8 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3887, allocations: 29.7 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.3888, allocations: 96.06 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3889, allocations: 7.953 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3889, allocations: 21.72 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.389, allocations: 318.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.3891, allocations: 15.98 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.3892, allocations: 29.72 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.3892, allocations: 24.84 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3892, allocations: 0 / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001461/0.3894, allocations: 77.59 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3894, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3894, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3894, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.3895, allocations: 7.984 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3895, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3895, allocations: 15.98 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3895, allocations: 0 / 1.287 GB, free: 7.617 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 0.0001126/0.3897, allocations: 121.8 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3897, allocations: 7.953 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3897, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3897, allocations: 3.938 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3897, allocations: 4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3897, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3899, allocations: 152.7 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3899, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.39, allocations: 4 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.39, allocations: 0 / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.39, allocations: 3.984 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.39, allocations: 8 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.39, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3902, allocations: 163.4 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.3902, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3902, allocations: 3.938 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.3903, allocations: 4 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.3903, allocations: 12.36 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3903, allocations: 7.984 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.819e-05/0.3904, allocations: 91.28 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3904, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002246/0.3906, allocations: 15.94 kB / 1.288 GB, free: 6.949 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.0005/0.3911, allocations: 0.6928 MB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.3913, allocations: 31.98 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3913, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.3914, allocations: 19.98 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3917, allocations: 3.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3932, allocations: 1.343 MB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3935, allocations: 0.6846 MB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.3935, allocations: 4 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.3936, allocations: 23.42 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3936, allocations: 0 / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.4218, allocations: 1.871 MB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.08, allocations: 13.06 kB / 1.292 GB, free: 2.273 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.131316846000118]