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.00137/0.00137, allocations: 104.4 kB / 16.45 MB, free: 6.395 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.001881/0.001881, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.526/3.526, allocations: 0.49 GB / 0.7916 GB, free: 33.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.00205/0.00205, allocations: 65.28 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002077/0.3616, allocations: 0.7076 MB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3628, allocations: 0.8864 MB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.3629, allocations: 4 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3629, allocations: 3.938 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.363, allocations: 15.86 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3632, allocations: 27.91 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3633, allocations: 55.86 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3634, allocations: 15.97 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3635, allocations: 27.92 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.3636, allocations: 27.86 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3636, allocations: 4 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.3637, allocations: 11.98 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.3637, allocations: 23.92 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.3637, allocations: 27.8 kB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3639, allocations: 71.98 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3639, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3639, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3639, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 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.0005153/0.3644, allocations: 375.2 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3644, allocations: 15.92 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3645, allocations: 34.75 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3646, allocations: 16.92 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3649, allocations: 196.2 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3649, allocations: 4.375 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3649, allocations: 4.375 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3651, allocations: 58.17 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3651, allocations: 7.922 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3651, allocations: 0 / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3651, allocations: 4 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3652, allocations: 31.98 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3657, allocations: 296.8 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.366, allocations: 70.47 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.366, allocations: 21 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3661, allocations: 4 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3661, allocations: 30.56 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3661, allocations: 0 / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002569/0.3663, allocations: 73.56 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3664, allocations: 51.41 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3665, allocations: 125.8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3665, allocations: 29.7 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3666, allocations: 92.16 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3666, allocations: 19.83 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3667, allocations: 21.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3668, allocations: 318.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.3669, allocations: 15.98 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.367, allocations: 33.7 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.3671, allocations: 24.84 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3671, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001601/0.3672, allocations: 69.61 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3672, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3672, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3672, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.3673, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3673, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.3674, allocations: 16.02 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3674, allocations: 0 / 1.325 GB, free: 15.19 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.0001024/0.3675, allocations: 119.3 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3675, allocations: 3.953 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.3675, allocations: 11.89 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3675, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3675, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3676, allocations: 3.938 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3678, allocations: 181.9 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3678, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.3678, allocations: 7.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3678, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3678, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3678, allocations: 3.938 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3678, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.368, allocations: 163.4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3681, allocations: 89.06 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3681, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3682, allocations: 11.98 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3682, allocations: 7.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3682, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.3683, allocations: 99.2 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002357/0.3685, allocations: 8 kB / 1.325 GB, free: 14.39 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.0005118/0.369, allocations: 0.6889 MB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.3692, allocations: 35.97 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3692, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.3693, allocations: 19.94 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3695, allocations: 7.984 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3711, allocations: 1.335 MB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3714, allocations: 0.6846 MB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.3714, allocations: 3.984 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.3715, allocations: 23.44 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3715, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3982, allocations: 1.755 MB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.616, allocations: 2.656 kB / 1.33 GB, free: 9.789 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.822803350165486]