Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001914/0.001914, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002706/0.002706, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_12_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.001973/0.001973, allocations: 76.47 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3879, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00247/0.3903, allocations: 0.685 MB / 1.326 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3917, allocations: 0.886 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.3918, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.3918, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3919, allocations: 7.875 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3921, allocations: 27.95 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3922, allocations: 55.8 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3923, allocations: 19.98 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3925, allocations: 35.84 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.3926, allocations: 27.86 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3926, allocations: 8 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.3927, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.3927, allocations: 11.98 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.3927, allocations: 19.88 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.3929, allocations: 75.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3929, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3929, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3929, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 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.0005273/0.3934, allocations: 290.2 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3935, allocations: 8.031 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3935, allocations: 38.69 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3937, allocations: 20.88 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3939, allocations: 134.4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.394, allocations: 384 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.394, allocations: 4.375 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3941, allocations: 70.2 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3941, allocations: 3.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3941, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3941, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3943, allocations: 31.92 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.3947, allocations: 255.9 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.395, allocations: 70.52 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.395, allocations: 16.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3951, allocations: 7.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3951, allocations: 34.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3951, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002713/0.3954, allocations: 73.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3954, allocations: 55.41 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.3955, allocations: 117.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3955, allocations: 29.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.3956, allocations: 100.1 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3956, allocations: 7.953 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3957, allocations: 17.72 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3958, allocations: 318.8 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.3959, allocations: 12 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.3959, allocations: 63.34 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.396, allocations: 28.84 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.396, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.3962, allocations: 65.62 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3962, allocations: 9.75 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3962, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3962, allocations: 4 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.3963, allocations: 11.98 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3963, allocations: 3.938 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.3963, allocations: 8 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.3964, allocations: 4 kB / 1.329 GB, free: 13.54 MB / 1.029 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.0001054/0.3965, allocations: 125.6 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3965, allocations: 3.953 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3965, allocations: 12 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3965, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3965, allocations: 336 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3965, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3967, allocations: 144.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3967, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.3968, allocations: 8 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3968, allocations: 3.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3968, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3968, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3968, allocations: 3.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.397, allocations: 167.4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.397, allocations: 7.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.397, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.3971, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3971, allocations: 7.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3971, allocations: 7.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.3972, allocations: 91.72 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3972, allocations: 3.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002284/0.3974, allocations: 11.95 kB / 1.33 GB, free: 12.87 MB / 1.029 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.0005342/0.398, allocations: 0.6951 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3981, allocations: 31.92 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3981, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.3982, allocations: 11.98 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3985, allocations: 12.31 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4, allocations: 1.345 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.4, allocations: 71.33 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.4001, allocations: 4 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.4001, allocations: 15.42 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4001, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.4294, allocations: 2.336 MB / 1.334 GB, free: 8.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 10.53 kB / 1.334 GB, free: 8.348 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.819904934993247]