Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001799/0.001799, 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.00246/0.00246, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_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.002048/0.002048, allocations: 66.73 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4034, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002498/0.4059, allocations: 0.7189 MB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4072, allocations: 0.8899 MB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.4073, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.4073, allocations: 7.938 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.4075, allocations: 11.88 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.4077, allocations: 23.91 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.4078, allocations: 63.78 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.408, allocations: 15.98 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.4081, allocations: 27.92 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.4082, allocations: 31.84 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.4082, allocations: 4 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.944e-05/0.4083, allocations: 8 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.4083, allocations: 19.92 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.4084, allocations: 31.8 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.4086, allocations: 75.98 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4086, allocations: 0 / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4086, allocations: 3.938 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4086, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 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.0005973/0.4092, allocations: 290.1 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4093, allocations: 8.031 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.4093, allocations: 38.73 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.4095, allocations: 16.89 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.4097, allocations: 134.4 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4097, allocations: 4.375 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.4097, allocations: 4.375 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4099, allocations: 62.17 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4099, allocations: 3.938 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4099, allocations: 0 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4099, allocations: 0 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.41, allocations: 35.97 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.4104, allocations: 263.9 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.4107, allocations: 70.47 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.4108, allocations: 25 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4108, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4108, allocations: 30.56 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4108, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002563/0.4111, allocations: 73.56 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4111, allocations: 55.39 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4112, allocations: 121.8 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4113, allocations: 33.7 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.4113, allocations: 96.02 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.4114, allocations: 7.953 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4114, allocations: 17.72 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4116, allocations: 326.7 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.4116, allocations: 15.94 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.4117, allocations: 33.7 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.4118, allocations: 29.12 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4118, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.4119, allocations: 73.59 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4119, allocations: 4 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4119, allocations: 0 / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.412, allocations: 0 / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.412, allocations: 4 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.412, allocations: 3.984 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.4121, allocations: 15.98 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4121, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.045 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.0001202/0.4122, allocations: 125.7 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4122, allocations: 4 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.4123, allocations: 8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4123, allocations: 0 / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4123, allocations: 0 / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4123, allocations: 0 / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.4125, allocations: 152.7 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4125, allocations: 4 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.4125, allocations: 4 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4125, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4125, allocations: 3.938 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4125, allocations: 4 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4125, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.4127, allocations: 159.4 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.4128, allocations: 7.953 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4128, allocations: 7.984 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.4129, allocations: 4 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.4129, allocations: 7.984 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.4129, allocations: 0 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.783e-05/0.413, allocations: 103.6 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.413, allocations: 0 / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002235/0.4132, allocations: 11.94 kB / 1.357 GB, free: 3.844 MB / 1.045 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.0005196/0.4137, allocations: 0.6928 MB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.4139, allocations: 31.98 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4139, allocations: 0 / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.414, allocations: 19.92 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4143, allocations: 15.94 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4157, allocations: 1.33 MB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4161, allocations: 0.6846 MB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.4161, allocations: 8.031 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.4162, allocations: 27.42 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4162, allocations: 0 / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4471, allocations: 1.87 MB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.11, allocations: 7.234 kB / 1.362 GB, free: 15.16 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv --start-time 0 --stop-time 1800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.36871137700018]